Ask Experts Questions for FREE Help !
Ask
    sinchana's Avatar
    sinchana Posts: 2, Reputation: 1
    New Member
     
    #1

    Apr 23, 2009, 11:27 AM
    Exception in main thread: java.lang.NoClassDefFoundError.
    Hi,
    Java program is compiling successfully.while running I am getting the error as Exception in main thread java.lang.NoClassDefFoundError.how to solve this?I have set classpath as c:program files/java/jdk1.5.0_05/jre/tools.jar...
    Please reply asap..
    ulasad's Avatar
    ulasad Posts: 4, Reputation: 1
    New Member
     
    #2

    May 26, 2009, 04:59 AM
    I think the coreect path will like this
    Files/java/jdk1.5.0_05/bin,
    Hope it solves the problem
    parthht's Avatar
    parthht Posts: 2, Reputation: 1
    New Member
     
    #3

    Oct 22, 2010, 07:29 AM
    I am completely agree with the above answer...

    You can also set the environment variabe
    PATH: C:\Program Files\Java\jdk1.7.0\bin

    OUTPATH:C:\Program Files\Java\jdk1.7.0\lib
    tusharghadge's Avatar
    tusharghadge Posts: 1, Reputation: 1
    New Member
     
    #4

    Mar 13, 2011, 10:22 PM
    SET PATH=C:\j2sdk1.4.2_05\bin

    SET CLASSPATH=C:\j2sdk1.4.2_05\bin

    SET JAVA_HOME=C:\j2sdk1.4.2_05

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

The exception unknown software exception (0xc0000409) occurred in the application at [ 2 Answers ]

the exception unknown software exception (0xc0000409) occurred in the application at location 0x5b86a3c0

Java Virtual Machine Launcher - Could not find the main class [ 1 Answers ]

When I run a executable file, I am gettibg a error message. ' Java Virtual Machine Launcher ' - Could not find the main class.Program will exit. Can any provide me the solution what the problem maybe? Orelse should I install any software to rectify it?

JNLPException[category: Download Error : Exception:java.net.ConnectException: Connect [ 0 Answers ]

Hi all , it's woking in server Because code base = cPanel... if am calling the same application in client/ end User .. Error Connection Refuse.. clear about the Error message: An error occurred while launching/running the application. Title: My Pirate! Vendor: me Category: Download Error

Java: using an array from the main in a method [ 2 Answers ]

I have the array names in the main of my program and I want to use it in a method FindName.. How would I wright the method header and the call to the method in the main?


View more questions Search