Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Trupti Patil   on Dec 13 In Java Category.

  
Question Answered By: Corbin Jones   on Dec 13

set JAVA_HOME=c:\j2sdk1.4.1_02
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=. (Root directory of your CLASSES, or path to your JAR FILE)

java MyApplication

If you do not know the usage/purpose of "classpath" please read it up on
java.sun.com or your favourite java  book.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on exception in thread "main" java.lang.NoClassDefFoundError Or get search suggestion and latest updates.


Tagged: