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

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



Stephen,

What I would do in this case is build the idv.jar and replace the idv.jar that
comes with the IDV distribution with your idv.jar. That way, all the ancillary
stuff should already be properly configured.

Best,

Unidata IDV Support

> Classification: UNCLASSIFIED
> Caveats: NONE
> 
> Hi,
> 
> I successfully built IDV from source (idv_src_5.0u1.jar) and it said to start
> up IDV, do:
> 
> java -Xmx512m -jar idv.jar
> 
> but as I mentioned it is failing, looking for that SceneGraphObject class.
> 
> I was wondering about testing it later on, on something like an iPad perhaps,
> but thought I would get my feet wet, by building from src on my Linux box.
> This error really puzzles me (especially since I have given it both the
> CLASSPATH env var, and a -cp flag).
> 
> --Steve
> 
> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden]
> Sent: Wednesday, October 29, 2014 12:45 PM
> To: Kirby, Stephen F CIV USARMY ARL (US)
> Cc: address@hidden; Kirby, Stephen F CIV USARMY ARL (US)
> Subject: [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(IntegratedDataVi
> > > > ew
> > > > 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
> 
> 
> Classification: UNCLASSIFIED
> Caveats: NONE
> 
> 
> 
> 


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


pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy