Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Arnold Scott   on Jul 10 In Java Category.

  
Question Answered By: Allan Bailey   on Jul 10

Did you run  the code as:

java ClassName

Or

java ClassName.class


The first form is the correct form. If you append .class it will not find your
class. Perhaps you can give some more
details if this is not the case. Stack traces, the command you used to execute
your code, etc. is always helpful.

Share: 

 

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

 
Didn't find what you were looking for? Find more on Could not locate compiled file Or get search suggestion and latest updates.


Tagged: