0

When opening the turbo.class or turbo.java file for enginesim, found here, the command prompt flashes and then exits. Using the commands java -cp . turbo.class, java -cp . turbo.java, java turbo.java, etc, I get Error: Could not find or load main class turbo.class
Also, when just executing java -cp . Turbo from the location of the extracted files, I get Error: Main method not found in class Turbo, please define the main method as:
public static void main (string[]args)
or a javaFX application class must extend javafx.application.Application
Windows 7. administrator.

2
  • Seems to be an applet. Do you have JRE installed? Did you try to open the HTML files in a browser?
    – Karan
    May 12, 2015 at 0:01
  • That was stupid of me! Thanks! Needed to open the html file, now I need to get permission to let file:// be execute in java
    – Hellreaver
    May 12, 2015 at 0:43

0

You must log in to answer this question.

Browse other questions tagged .