Bookmark Topic Watch Topic
  • New Topic

not able to run my first java program

 
dhruv garg
Greenhorn
Posts: 7
Java
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
my program is able to pass the compilation test.but when i run the program its gives error

"C:\Users\DHRUV\My Documents\java>javac innerclass.java

C:\Users\DHRUV\My Documents\java>java innertest
Error: Could not find or load main class innertest

here the file name is innerclass.java and the main class name is innertest.

kindly help me out
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please CarefullyChooseOneForum and dont post the same query in multiple places. Lets continue this discussion here
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic