Remember to set classpath to current directory and to compile+run outside of package folders:
javac -cp . packageFolder/javaFile.java
java -cp . packageFolder.javaFile
Yet another brilliant Eclipse plugin: http://www.objectaid.com
Create a Diagram and then drag the wanted files onto it.
Remember to save as a JPG instead of GIF because some text is missing when using GIF.
I recommend the following disabling:
- Disable package (for smaller projects)
- attribute defaults (default values)
- icons (remove eclipse symbols and use normal UML)
- dependencies/add relationsships/labels/nesting
Open a command promt, find the folder and write
jar -cvf file.jar folderName
This plugin for eclipse is brilliant for including source code in computer science reports: http://www.java2html.de
Remember to go to Window -> Preferences -> Java -> Java2HTML:
- Show line numbers
- Show file name
- Show Table border
- Tabulator size 2
Enable the partner repository in order to download Sun Java6 JDK: System -> Software Sources -> Other Software -> http://archive.canonical.com/ubuntu partner)
Get the following packages from System -> Synaptic Package Manager:
- sqldeveloper-package (this is a special package that contains all prerequisites except sun-java6-jdk)
Download “Oracle SQL Developer for other platforms” from bottom of Oracles website:
Extract the archive to a folder and make the sqldeveloper.sh file executable (right click on it and select properties->permissions).
Run Oracle SQL Developer for the first time by typing the following command in the console:
When requested for a JVM directory, use something like this:
Click the save all button (this saves the path of the JVM directory) and then close the program.
You can now use the Oracle SQL Developer by running the following command:
I would recommend making a launcher for it – just right click on the desktop. Avoid using “~” in the path.