Hi, I am this to the e-mail list, since otherwise it appears to be bouncing around without reaching its intended recipient, and anyway it is likely others may run into the same problem.

Dylan -- I think Dmitry guess is right you are using "OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)". It would be better to use the Oracle JDK which you can download from here:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Independently we should try to understand why VectorGraphics does not run with OpenJDK.

Tony

-------- Original Message --------
Subject: RE: can't run jas3.0.1
Date: Tue, 28 May 2013 09:07:58 -0700
From: Onoprienko, Dmitry <[log in to unmask]>
To: Johnson, Tony <[log in to unmask]>


I cannot verify it but the likely reason for failure is that you are using OpenJDK Runtime Environment 1.6. Its AWT toolkit implementation was reported to have multiple issues and might be incompatible with FreeHEP graphics libraries. Could you try Oracle JRE 1.7 instead ?

- Dmitry.


From: Johnson, Tony [mailto:[log in to unmask]] 
Sent: Tuesday, May 28, 2013 7:04 AM
To: Onoprienko, Dmitry
Subject: Fwd: can't run jas3.0.1




-------- Original Message -------- 
Subject: 
can't run jas3.0.1
Date: 
Mon, 27 May 2013 23:17:57 -0700
From: 
Dylan Mead <[log in to unmask]>
To: 
Johnson, Tony <[log in to unmask]>

Tony, 

I've put in the hours and can't seem to fix this one. I'm trying to run jas3.0.1. It does not start successfully. I already killed my old extensions file (and I get the same error as before).

here is the error message and my OS and Java versions

dylan@d23-139:~/jas-assembly-3.0.1$ cat /etc/debian_version 
6.0.6
dylan@d23-139:~/jas-assembly-3.0.1$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
dylan@d23-139:~/jas-assembly-3.0.1$ ./jas3
Exception in thread "main" java.lang.NoClassDefFoundError: org/freehep/graphics2d/VectorGraphics
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2406)
 at java.lang.Class.getConstructor0(Class.java:2716)
 at java.lang.Class.newInstance0(Class.java:343)
 at java.lang.Class.newInstance(Class.java:325)
 at org.openide.util.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:267)
 at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:575)
 at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:368)
 at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:319)
 at org.freehep.jas.extensions.recordloop.RecordLoopPlugin.resultChanged(RecordLoopPlugin.java:232)
 at org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:389)
 at org.openide.util.lookup.ProxyLookup$R.resultChanged(ProxyLookup.java:405)
 at org.openide.util.lookup.AbstractLookup$R.fireStateChanged(AbstractLookup.java:543)
 at org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:403)
 at org.openide.util.lookup.AbstractLookup.addPair(AbstractLookup.java:147)
 at org.openide.util.lookup.AbstractLookup$Content.addPair(AbstractLookup.java:698)
 at org.freehep.util.FreeHEPLookup.add(FreeHEPLookup.java:49)
 at org.freehep.jas.plugin.web.SimpleWebBrowser.postInit(SimpleWebBrowser.java:142)
 at org.freehep.application.studio.Studio.fireInitializationComplete(Studio.java:333)
 at org.freehep.application.Application.createFrame(Application.java:736)
 at org.freehep.jas.JAS3.main(JAS3.java:231)
Caused by: java.lang.ClassNotFoundException: org.freehep.graphics2d.VectorGraphics
 at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
 ... 21 more


I've also attached a screen capture of the point where the jas startup freezes. I could probably dick around with this more and figure it out eventually but my overhead is pressing me to get this display done asap. Thanks.

Dylan







Use REPLY-ALL to reply to list

To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&A=1