[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #PBQ-956479]: compiled ok, but getting runtime error



Stephen,

What is your ultimate objective here?

Please take a look at the runIDV script as a template.

Best,

Unidata IDV Support


> Classification: UNCLASSIFIED
> Caveats: NONE
> 
> Do I have to "install" j3d?  I do have it in my classpath, like this:
> CLASSPATH=/home/skirby/jdk1.8.0_25/ext/j3dcore.jar
> 
> --Steve
> 
> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden]
> Sent: Wednesday, October 29, 2014 11:47 AM
> To: Kirby, Stephen F CIV USARMY ARL (US)
> Cc: Kirby, Stephen F CIV USARMY ARL (US)
> Subject: [IDV #PBQ-956479]: compiled ok, but getting runtime error
> 
> > Classification: UNCLASSIFIED
> > Caveats: NONE
> >
> > Yuan,
> >
> > I just upgraded to:
> >
> > $ java -version
> > java version "1.8.0_25"
> > Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM)
> > 64-Bit Server VM (build 25.25-b02, mixed mode)
> >
> > --Steve
> 
> 
> Did you install j3d package?
> 
> 
> Yuan
> >
> > -----Original Message-----
> > From: Unidata IDV Support [mailto:address@hidden]
> > Sent: Wednesday, October 29, 2014 11:43 AM
> > To: Kirby, Stephen F CIV USARMY ARL (US)
> > Cc: address@hidden
> > Subject: [IDV #PBQ-956479]: compiled ok, but getting runtime error
> >
> > > Full Name: steve kirby
> > > Email Address: address@hidden
> > > Organization: arl
> > > Package Version:
> > > Operating System: redhat linux
> > > Hardware: x86_64
> > > Description of problem: IDV compiled ok for me (although I did have
> > > to augment the classpath in the build.xml, or else it was
> > > complaining about not finding some j3d stuff.  But when I try to run IDV,
> > > per instructions, I get:
> > >
> > > $ java -Xmx512m -jar idv.jar
> > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > javax/media/j3d/SceneGraphObject at
> > > visad.util.Util.<clinit>(Util.java:300)
> > > at
> > > ucar.unidata.idv.IntegratedDataViewer.checkSystem(IntegratedDataView
> > > er
> > > .java:373) at
> > > ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.ja
> > > va
> > > :267) at
> > > ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.ja
> > > va
> > > :225) at ucar.unidata.idv.DefaultIdv.<init>(DefaultIdv.java:84)
> > > at ucar.unidata.idv.DefaultIdv.main(DefaultIdv.java:165)
> > > Caused by: java.lang.ClassNotFoundException:
> > > javax.media.j3d.SceneGraphObject at
> > > java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > > at java.security.AccessController.doPrivileged(Native Method) at
> > > java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> > > ... 6 more
> > >
> > > So I added to my environment CLASSPATH, the exact jars, as I have
> > > them in the build.xml, but it didn't help.  Also tried adding them
> > > via -cp, in the runtime call, but again, no luck.  Please let me know if
> > > you have any ideas.
> > >
> > > TIA,
> > > Steve
> > >
> > >
> > What is the version of your java?
> >
> >
> > Yuan
> >
> > Ticket Details
> > ===================
> > Ticket ID: PBQ-956479
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> > Classification: UNCLASSIFIED
> > Caveats: NONE
> >
> >
> >
> >
> 
> 
> Ticket Details
> ===================
> Ticket ID: PBQ-956479
> Department: Support IDV
> Priority: Normal
> Status: Open
> 
> 
> Classification: UNCLASSIFIED
> Caveats: NONE
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: PBQ-956479
Department: Support IDV
Priority: Normal
Status: Closed