I've installed the latest version of RAMADDA on a Mac Pro running Mac OS X v10.8.5, following instructions in the README. (The location of the ramaddaserver directory, ~/ramadda, contains a previous installation of RAMADDA.)
I've edited (and executed) ramaddaenv.sh as follows:
export HOME=/usr/local/unidata/ldm
export RAMADDA_HOME=${HOME}/.ramadda
export RAMADDA_PORT=8080
My version of java is as follows:
ldm_virga% /usr/bin/java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
I haven't changed the contents of ~/.ramadda (except to place a recently downloaded copy of coreplugins.jar in ~/.ramadda/plugins, for lack of clearer guidance about what to do with it).
After stopping the previously running implementation of ramadda ("ramaddainit.sh stop"), I ran the following command (as per the README file), with the consequences that followed:
ldm_virga% sh ramaddaserver/ramadda.sh
RAMADDA initializing with: ./ramaddaenv.sh
Running RAMADDA: /usr/bin/java -Xmx2056m -XX:MaxPermSize=256m -Dfile.encoding=utf-8 -jar ramaddaserver/lib/ramadda.jar -port 8080 -Dramadda_home=/usr/local/unidata/ldm/.ramadda
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/ramadda/repository/server/JettyServer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
-- Dave Dempsey
Hi Dave-
RAMADDA now requires java 7. Can you upgrade to that?
BuddhaAndTheBees.net
Related
Support Requests: #9