...
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
After installing http://www.apple.com/support/downloads/java2se50release1.html, it is necessary to do the following to get the correct version of
|
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.
...
title | Windows 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?
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
|