Skip to main content

classpath - please help

4 replies [Last post]
kinor
Offline
Joined: 2006-02-17

i downloaded the j3dutils.jar because i wanted to import the - com.sun.j3d.utils.behaviors.mouse . i included this file in the classpath and still the compiler tells me
"package com.sun.j3d.utils.behaviors.mouse does not exist"
i dont know what to do - please help

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kinor
Offline
Joined: 2006-02-17

i am working with NetBeans IDE
i have started a knew project and then entered the properties of the project and in compiling sources and running project i have added the jar file
and by the way thank for trying to help because i am dying here
if you have another idea please tell what to do
thank
kinor

Matthew Hilliard

Hmm. I haven't touched NetBeans since it stopped being Sun One Studio, but
I know a few other's here do.
In Sun Studio, you could mount a JAR file as a filesystem, and all of its
contents would then be implicitly added to the classpath for both
compilation and runtime. I'm not sure this paradigm still holds, but its a
start--if you can add the j3dutils.jar to your project's filesystem (In the
Editing view, in the Explorer window), your project would have a hard time
not finding that JAR's contents.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

jada
Offline
Joined: 2004-03-17

We did play with NetBeans a little. If you're using NetBeans 4.0 RC 1, you will need to explicitly add all needed jar files (including j3dutils) in the Classpath setting under the Project's properties. Setting CLASSPATH outsude of NetBeans doesn't seem to take effect. Hope this helps.

- Chien.

Matthew Hilliard

Classpaths can be tricky.
Are you setting it explicitly from the command line ( -cp or -classpath )
or tacking it on to the environment variable (CLASSPATH) or having an IDE
tack it on for you?

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net