Since no one has answered your question, I will.
To use Javatar, you must first set the source folder. This allows Javatar's compiler to know where everything is. I recommend creating a folder on your drive called src to keep everything nice and organized.
Next, press Ctrl+Alt+k, Ctrl+Alt+k (twice in succession) to open Javatar's main menu. Select Javatar Settings and set your JDK. Now, I've had quite a bit of trouble doing this from a flash drive because I think Java looks in the Environment Variables, which often cannot be changed on public computers. Maybe you will have a different experience.
In any case, after that, you must set the source folder. Go into the menu and select Project Settings --> Set Source Folder and select your new folder.
Next you must create a new class. Go back to the Javatar menu and select Create --> Class. Simply type the name of the class you would like to make and hit enter. This will create a class in the default package, which is discouraged. If you have several files that relate to each other, but not to other files, create a package for them. It will keep your project folder organized and make Javatar happy.
To put files in a package, create a folder in your source folder and name it the name of your package. Put all the files you want in the package in that folder and add the following on the first line:
package packageName; //packageName must match folder name (case sensitive)
NOTE: To do steps 4 and 5 at the same time, type the name of the package followed by a dot and the name of the class when creating a new class. Javatar will place the file in the correct package folder or create it if necessary.
NOTE: If you have sub-packages, they are defined like a class in a package, ie:
- To run your code, open the Javatar menu and select Builds --> Package/Working/Project (whatever you want), then select Run Main Class to run the code. Note that as of now, Javatar does not support running applets, but they will compile.
I have been playing around with trying to get a portable version of the Java JDK on my flashdrive so Sublime and Eclipse and whatnot will work. While I haven't quite gotten it working, Javatar has a setting for which paths to check for JDKs. By adding the path to the JDK on your flashdrive, Javatar will see it and be able to compile and run java code.
Hope that helps.