Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » IllegalAccessError on GreGorian Calendar.setTimeInMillis()
IllegalAccessError on GreGorian Calendar.setTimeInMillis() [message #248423] Thu, 03 June 2004 00:15
Eclipse UserFriend
Originally posted by: jmlynn50.yahoo.com

Help.

I wrote the following code in Eclipse and it works if I run it under
Eclipse but failed with java.lang.IllegalAccessError exception:

Calendar now = new GregorianCalendar();

Timestamp m_tsStart = new Timestamp(now.getTimeInMillis());

I run the application as follow:

D:\Test1>java -classpath .;d:\j2sdk142\jre\lib Test1

where Test1.class is located in D:\Test1

Any help will be appreciated!

Jeff
Previous Topic:[M9] - Looks very good, but does not update...
Next Topic:Feature Export
Goto Forum:
  


Current Time: Sun Jun 01 04:59:14 EDT 2025

Powered by FUDForum. Page generated in 0.21591 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top