Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / October 2003

Tip: Looking for answers? Try searching our database.

why can not "java HelloJava3Da"  work?

Thread view: 
tony lincoln - 15 Oct 2003 16:37 GMT
Dear friends,

I tried to install Java3D in a new computer, which is linux system,
but the windows 2000 is based on Vmware, so I use the win2000.
Now the problem is, I can use javac to produce HelloJava3Da.class, but
when I try to run"java HelloJava3Da", computer told me:

C:\download>java HelloJava3Db
Exception in thread "main" java.lang.NoClassDefFoundError:
HelloJava3Db (wrong n
ame: untitled1/HelloJava3Db)
       at java.lang.ClassLoader.defineClass0(Native Method)
       at java.lang.ClassLoader.defineClass(Unknown Source)
       at java.security.SecureClassLoader.defineClass(Unknown Source)
       at java.net.URLClassLoader.defineClass(Unknown Source)
       at java.net.URLClassLoader.access$100(Unknown Source)
       at java.net.URLClassLoader$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I really wonder why. Do you have the same problem? many thanks.
tony
bart59 - 16 Oct 2003 18:14 GMT
is c:/download is in your classpath ?

> Dear friends,
>
[quoted text clipped - 22 lines]
> I really wonder why. Do you have the same problem? many thanks.
> tony
tony lincoln - 17 Oct 2003 11:15 GMT
Now I know the reason why "java HelloJava3Da" can not work: in the 1st
line of java codes, there is "package abc;", and JVM can not recognize
this. If I remove it and compile it again, it will work.

But the new question is, the display mode for this win2000 is only
high color(16bit), and the 3D objects can not be displayed in the
screen. Do you have any idea about the relationship between java3d and
display mode?

Many thanks.
tony


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.