[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Messages posted by: lmr
Forum Index » Profile for lmr » Messages posted by lmr
Author Message
Have relocated all files to C: drive To give a specific example my assignment "studentEntry" is located as in C:\classwork\studentEntry.class and the java file is C:\classwork\studentEntry.java
The java program is located in C:\program files\java
Gives me - unrecognised option -cp.<classname>. Could not create the Java virtual machine. It seems I'm missing something but I don't know what. I have the java and class files saved on my flash drive (E and Java is loaded on (C. When I view the java files on my flash drive they just look like text files not java files but they are all .java
Have just downloaded JDK 1.5.0_07 on PC with WindowsXP. Program compiles ok but I get the following runtime error:Exception in thread "main" java.lang.No ClassDefFoundError: I think I've tried just about everything under the sun and am running out of time to finish my assignment
 
Forum Index » Profile for lmr » Messages posted by lmr
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle