Created
September 9, 2013 16:11
-
-
Save dchud/6497887 to your computer and use it in GitHub Desktop.
archivesspace rc1 install log. ubuntu 12.04.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get update | |
$ sudo apt-get install default-jre | |
$ java -version | |
java version "1.6.0_27" | |
download archivesspace-1.0.0RC1.tar.gz from archivespace | |
$ gunzip archivesspace-1.0.0RC1.tar.gz | |
$ tar -xf archivesspace-1.0.0RC1.tar | |
directory archivesspace-1.0.0RC1 created | |
$ cd archivespace-1.0.0RC1/launcher | |
$ ./archivesspace.sh | |
error logs/archivesspace.out: No such file or directory | |
$ sudo mkdir logs | |
$ sudo chmod 777 logs | |
$ cd logs | |
$ sudo touch archivesspace.out | |
$ sudo chmod 777 archivesspace.out | |
error java.lang.NoClassDefFoundError: org/jruby/Main | |
$ sudo apt-get install jruby | |
$ ./archivesspace.sh | |
error java.lang.NoClassDefFoundError: org/jruby/Main | |
$ sudo mkdir launcher/org/ | |
$ cd org | |
$ sudo ln -s /usr/bin/jruby jruby | |
$ cd .. | |
error | |
$ ./archivesspace.sh | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main | |
Caused by: java.lang.ClassNotFoundException: org.jruby.Main | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) | |
Could not find the main class: org.jruby.Main. Program will exit. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment