Notes 8.0.2 AND Eclipse 3.4.1

below is a simple java class created in eclipse (ganymede 3.4.1)I exported it to a Jar file

I add the Jar file to a Java Agent

when I try to compile the agent it will not compile

I get “cannot access com.JT1.testJava”

What am I missing???

package com.JT1;

import java.util.*;

public class testJava

{

public testJava()

   {

	

   }



public static String getCurrentDate()

   {

    try 

        {

		  String sMonth2;

		  String sDay2;

		  Calendar cal = new GregorianCalendar();    

//Get the components of the date

          int year = cal.get(Calendar.YEAR);             // 2004

          int month = cal.get(Calendar.MONTH);           // 0=Jan, 1=Feb, ...

          int day = cal.get(Calendar.DAY_OF_MONTH);      // 1...

           

          String sYear = String.valueOf(year);   

          String sMonth = String.valueOf(month + 1);

          int gLen = sMonth.length();

          if(gLen == 1)

            {

           	  sMonth2 = "0" + sMonth;   

           	}else

           	     {

           		   sMonth2 = sMonth;   

           	     }

           	                

          String sDay = String.valueOf(day);

          int gLenD = sDay.length();

          if(gLenD == 1)

            {

           	 sDay2 = "0" + sDay;   

           	}else

           	     {

           		   sDay2 = sDay;   

           	     }

           	      

          String sDate =  String.valueOf(sMonth2) + "/" + String.valueOf(sDay2) + "/" + String.valueOf(sYear);



          return sDate;

        }

         catch(Exception e) 

              {

                return "No";

              }

}

}

Subject: found the answer