### JSNMPWalker and Java 6

The JSNMPWalker application has been built for Java 7 and above. However, we would like to provide some solutions to those users who still run machines with Java 6 installed.

### Install Java 7 or above alongside Java 6

#### Running JSNNPWalker jar file in a command line

If you can't change the default version of Java on your machine, you still can run other versions of Java using the absolute path.

NOTE for Mac users: Java 7 or above are not available for OS X versions 10.6 and below.

1. Download and install JRE packages for Java 7 or above for your operating system from the Oracle Java website. Don't change the JAVA_HOME environment variable from the old value.
2. Download JSNMPWalker-v2.6.jar . Save it in a folder of your choice, for example make a directory "jsnmpwalker" in your HOME folder and copy it there.
3. ### For Windows Users

• Locate the folder where Java or above is installed. For Windows, the default folder for all Java installations would be either C:\Program Files\Java or C:\Program Files (x86)\Java . For example, a Java 7 folder: C:\Program Files\Java\jre7\bin

Open a command prompt, navigate to the folder with Java 7 or above and verify that the version number is correct. Type in the command line:

> cd path\to\jre\bin > java -version

The version should be 1.7 or above.

• In the command prompt navigate to the folder where you saved the JSNMPWalker jar file.

> cd path\to\JSNMPWalker\jar

For example:

> cd C:\Users\Mike\jsnmpwalker

• Run the JSNMPWalker application using the absolute path to the Java 7 installation

> path\to\jre7\bin\java -jar JSNMPWalker-v2.6.jar

For example:

> "C:\Program Files\Java\jre7\bin\java" -jar JSNMPWaker-v2.6.jar

Don't forget about quotes if you have gaps in your Java path!

• (Optional) Set an environment variable to the alternative Java path. Run in the command line:

> SET JAVA7_HOME=path\to\jre7\bin

Run the application

> %JAVA7_HOME%\java -jar JSNMPWalker-v2.6.jar

4. ### For Linux Users

• Locate the folder where Java 7 or above is installed. To see all Java versions available, open a terminal and run:

> sudo update-alternatives --list java

It might be for example /usr/lib/jvm/jre7/bin/java

• In the terminal navigate to the folder where you saved the JSNMPWalker jar file.

> cd /path/to/JSNMPWalker/jar

For example:

> cd /home/mike/jsnmpwalker

• Run the JSNMPWalker application using the absolute path of the Java 7 installation

> /path/to/jre/bin/java -jar JSNMPWalker-v2.6.jar

For example:

> /usr/lib/jvm/jre7/bin/java -jar JSNMPWaker-v2.6.jar

• (Optional) Set an environment variable to the alternative Java path. Add this statement to your .bashrc file or whatever configuration file you prefer (~/.bash_profile, ~/.profile).

> export JAVA7_HOME=path\to\jre7\bin

Run the application

> $JAVA7_HOME/java -jar JSNMPWalker-v2.6.jar 5. ### For Mac Users • Java versions on Mac are typically installed into /System/Library/Frameworks/JavaVM.framework/Versions/ Locate a folder with Java 7 or above. For example, a path to Java 1.7.0 will be /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0/Home/bin • In the terminal navigate to the folder where you saved the JSNMPWalker jar file. > cd /path/to/JSNMPWalker/jar For example: > cd /home/mike/jsnmpwalker • Run the JSNMPWalker application using the absolute path of the Java 7 installation > /path/to/jre/bin/java -jar JSNMPWalker-v2.6.jar For example: > /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0/Home/bin/java -jar JSNMPWaker-v2.6.jar • (Optional) Set an environment variable to the alternative Java path. Add this statement to your .bashrc file or whatever configuration file you prefer (~/.bash_profile, ~/.profile). > export JAVA7_HOME=path\to\jre7\bin Run the application >$JAVA7_HOME/java -jar JSNMPWalker-v2.6.jar

Alternativelly, you can set your environment variables in ~/.MacOSX/environment.plist

#### Java 1.6 Packages

We also recompiled the application for Java 6 , the packages can be downloaded from below.

NOTE: although we will continue working on the compatibility, those versions are provided AS IS and might not have the full functionality.

Platform Package
Windows jsnmpwalker-windows-v2.6-java6.msi
Linux jsnmpwalker-linux-v2.6-java6.tar.gz
Mac OS X jsnmpwalker-mac-v2.6-java6.tar.gz