File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Unable to run this code in EditPlus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Unable to run this code in EditPlus" Watch "Unable to run this code in EditPlus" New topic
Author

Unable to run this code in EditPlus

nivi zal
Greenhorn

Joined: Mar 16, 2006
Posts: 15
I am unable to run this code in EditPlus although it is compiling fine...it is giving the following error when i am trying to run it in EditPlus:
java.lang.NoClassDefFoundError:Current
Exception in thread "main"
But this code is running fine in the Eclipse IDE,can someone plz tell me why is this so?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

I guess you have not configured your java.exe interpreter properly in editplus. Look at what parameters are passed along with the invocation of java.exe Are you trying to run the file with its .class extention ? Try setting the class path to where your .class files are.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Naveen Kollipara
Ranch Hand

Joined: Feb 20, 2006
Posts: 32
hey it happened to me also
follow this way.
Close the editor,remove the class file and recompile and execute it.
U r really Surprised
I think generally it happens with trial versions.


Regards,<br />Naveen<br />SCJP 5 - 83%<br />SCWCD - 84%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run this code in EditPlus