| JavaJournal January 22, 2000 | |
| this is the Java Application I
submitted to the JavaWorld CodeMasters contest in December...
Or read some old issues |
French Roast - Java IDE
French Roast is a utility that hosts a series of Java files in a Tree view, enabling compiling, running and javadocing a series of files. It isn't JBuilder or Visual Age, but I have used it successfully to compile the Java Debug API classes when Visual Age wouldn't load past 750 classes. (I use the Visual Age Entry edition at home, which has a limit of 750 classes.) French Roast opens with the Application object loaded in a JTree. The user can select the Application Object and start adding things to it. In French Roast, all objects in the Project tree must be selected first, then right-clicked. If you remember nothing else, just try right clicking.
Features editor=write.exe indicating the executable for the editor. Without this line, the default viewer loads. Setting up French Roast Although the application will work without these settings, you can modify several properties to use an alternate java compiler or a launcher like oldJava or appletViewer. These are the settings: compiler=javac runner=java documenter=javadoc You may also specify paths here if required. In this case, please use a notation like: runner=d\:\\jdk1.2.2\\bin\\java Launching French Roast To ensure that the application can read from its properties files, you need to launch from the directory where application.properties resides. The application will work without finding these properties, but user variables will not be read in. This should be done by using a batch file in NT or Windows 95/98.
Working with FrenchRoast Many of the commands that you normally type at a command prompt are viewable in the Console window. You should see a display like this: ******************* Sat Jan 01 20:17:27 GMT-06:00 2000 Executing java... >>d:/jdk1.2.2/bin/java -classpath d:\jdk1.2.2\jre\lib\rt.jar;d:\temp Hello SUCCESS: The above is a message contains the command line you are preparing through FrenchRoast. In this case, things worked out. However, below you'll see what happens when you have an error: ******************* Sat Jan 01 20:21:35 GMT-06:00 2000 Executing java... >>d:/jdk1.2.2/bin/java -classpath d:\jdk1.2.2\jre\lib\rt.jar Hello ERROR: java.lang.NoClassDefFoundError: Hello Exception in thread "main" In the above case, the classpath was incomplete. (You can set the classpath in the Project popup.) Known issues Any questions, please contact me ggallant@bigfoot.com . Download You can download both source and class files. Copyright (c) Gervase Gallant 1999,2000.
|