about Java classpath, compile and run

classpath

For local files JavApp guesses the classpath of an opened source file based upon the source path and the package header of the opened file.

compile

Use the Compile menuitem under the Code menu. The .class file is written to the source directory by default.

run

Use the Run menu item on the Code menu to run the main method.

mods to compile and run

The compile and run specifications can be modified for other compile and run scenarios using the textfields in the popup menu. The default values showing in the textfields reflect the conventions describe above. A JavApp session remembers last entries when user modifies these textfields.

kill run

A runaway program (e.g. infinite loop) can be stopped using the Kill menu item under the Code menu.

© John Fisher, 1998-2016