Off Topic- Core java

2003-12-23 Thread N.B.Bopanna
Hi all,
please help me with the following problem.

I have a java file in my system (C:\Esculation.java)
When I compile it from command prompt using javac command it compiles.
but when i try to execute the file (java Esculation) from the prompt it 
gives the following exception.
exception in thread main java.lang.noClassDefException .
this file has a main method and it works on other systems.

the classpath is set to C:\jdk1.4\lib
and path is C:\jdk1.4\bin

the file does not use any cutomized packages.
Thanks 
Bopanna



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Off Topic- Core java

2003-12-23 Thread Antony Paul
add . (current directory) to classpath. There is no need to specify where
the java API libraries to 1.4 Sun javac compilers.

Antony Paul.

- Original Message -
From: N.B.Bopanna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 11:32 AM
Subject: Off Topic- Core java


 Hi all,
 please help me with the following problem.

 I have a java file in my system (C:\Esculation.java)
 When I compile it from command prompt using javac command it compiles.
 but when i try to execute the file (java Esculation) from the prompt it
 gives the following exception.
 exception in thread main java.lang.noClassDefException .
 this file has a main method and it works on other systems.

 the classpath is set to C:\jdk1.4\lib
 and path is C:\jdk1.4\bin

 the file does not use any cutomized packages.
 Thanks
 Bopanna



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]