ScratchToJar is a program that turns scratch programs into java files
Latest commit caf1c2c Nov 25, 2011 Garrison Taylor Add GitIgnore
Added .DS_Store to .gitignore
Failed to load latest commit information.
program/dist First Commit Nov 4, 2011
source First Commit Nov 4, 2011
.gitignore Add GitIgnore Nov 25, 2011
README Update README Nov 4, 2011



When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).

To run the project from the command line, go to the dist folder and
type the following:

java -jar "ToJAR.jar" 

To distribute this project, zip up the dist folder
and distribute the ZIP file, or distribute the toJAR.jar file.


* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.