View Single Post
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,687
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
If it's Java, try the following:
Code:
javac <name of file>
Replace <name of file> with the .java file. That will create the required class files. Then, simply execute the following to run it:
Code:
java <name of class file>
One thing to note here that is important - do not include the .class extension when executing java in that last command. For example, you would execute:
Code:
java MyClassFile
instead of:
Code:
java MyClassFile.class

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks