Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

The org.lcsim reconstruction and analysis software requires Java J2SE 5.0, which is also known as version 1.5
(which might confuse you!).

Info

If you known know that Java 5.0 is properly installed on your current machine, then this section may safely be skipped.

JAS3 and org.lcsim should be installed after Java has already been installed.

Java Installation

Windows and Linux

Download the JDK 1.5 from Sun's Java site and install it.

Tip
titleJava Netbeans Bundle

Another option for setting up Java is the Java JDK 1.5 with Netbeans Bundle, which includes the free IDE Netbeans. Netbeans features code completion, a modular plugin system, and integration with Ant and Maven.

Tip
titleJava on Mac OSX 10.4

After installing http://www.apple.com/support/downloads/java2se50release1.html, it is necessary to do the following to get the correct version of
the java compilier.

No Format
cd /System/Library/Frameworks/JavaVM.framework/Versions/ 
sudo mv CurrentJDK CurrentJDK14
sudo ln -s 1.5 CurrentJDK

Checking the Installation

...

On Windows, go to Start -> Settings -> Control Panel -> Add or Remove Programs.

If you do not see something similar to the following, then Java needs to be installed.

From Command Line

On Linux

Open , open up a shell.

...

titleWindows Shell

...

.

Check that the Java compiler version is correct by typing the following into the prompt.

...

The first line of output should look like this. (The rest of the printout was removed.)

No Format
javac 1.5.0

Even if javac was not found, you may just need to set the JAVA_HOME variable or add
JAVA_HOME/bin to the path.

On Windows, go to Start -> Settings -> Control Panel -> System, click Advanced Tab, and then click the Environment Variables button (intuitive, isn't it?).

Do you see JAVA_HOME listed under System Variables on your system?

Image Removed

If not, then make a new environment variable by clicking on New.

To add JAVA_HOME to the PATH on Linux using bash.

No Format

export PATH=$JAVA_HOME/bin:$PATH