Opened 15 years ago

Last modified 15 years ago

#3 new defect

ControlExample will not run

Reported by: David McKenna Owned by: somebody
Priority: low Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

I am using eCS 2.0 rc6 with Innotek Java 1.4.2_09. I tried running your ControlExample app (found on Hobbes) and it would fail with the following message:

[C:\temp]java -classpath swt.jar;swtexamples.jar org.eclipse.swt.examples.controlexample.ControlExample Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\temp\swtp2049.dll:

Invalid EXE signature in %1

at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:117) at org.eclipse.swt.internal.pm.OS.<clinit>(OS.java:34) at org.eclipse.swt.widgets.Display.internal_new_GC(Display.java:1091) at org.eclipse.swt.graphics.Device.init(Device.java:700) at org.eclipse.swt.widgets.Display.init(Display.java:1115) at org.eclipse.swt.graphics.Device.<init>(Device.java:106) at org.eclipse.swt.widgets.Display.<init>(Display.java:288) at org.eclipse.swt.widgets.Display.<init>(Display.java:284) at org.eclipse.swt.examples.controlexample.ControlExample.main(ControlExample.java:96)

Change History (1)

comment:1 by lpino, 15 years ago

Priority: normallow

The SWT port will not work under Innotek Java. It needs a native JVM.

Supported JVMs include:

  • IBM Java 1.3.x
  • GC Java 1.4.1
Note: See TracTickets for help on using tickets.