Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356410 - NoClassDefFoundError running program with primitive types date and timeStamp
Summary: NoClassDefFoundError running program with primitive types date and timeStamp
Status: CLOSED DUPLICATE of bug 355146
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 16:58 EDT by broy2 CLA
Modified: 2017-02-23 14:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-08-31 16:58:37 EDT
Build Identifier: 20110831

Get NoClassDefFoundError when running the following program:

program pgm type basicprogram
	function main()
		myDate date;
	end
end 

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar
	at org.eclipse.edt.runtime.java.egl.lang.EDate.defaultValue(EDate.java:64)
	at pkg.pgm.main(pgm.java:25)
	at org.eclipse.edt.javart.resources.RunUnitBase.start(RunUnitBase.java:243)
	at pkg.pgm.main(pgm.java:15)
Caused by: java.lang.ClassNotFoundException: com.ibm.icu.util.Calendar
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)

Same thing happens with timeStamp.

Reproducible: Always
Comment 1 Matt Heitz CLA 2011-08-31 17:04:19 EDT
Wow, I was just working on bug 355146 which will solve this problem.  I hope to have it resolved by the end of the day tomorrow.

*** This bug has been marked as a duplicate of bug 355146 ***