[SOVED] ubuntu 16.04 failsause
SOLUTION :
OLD NOTES :
I may cold have got this to work with JDK and not JRE
using this guide ,,,
http://askubuntu.com/questions/763494/t ... -candidate
https://internetfounder.wordpress.com/2 ... te-method/
with openjdk-8-jre
with alian'ed rpm jre_1.7.080-1_amd64.deb
- Code: Select all
# remove everything java and subsoinc ...
apt-get remove --purge openj* subsoni*
# install java 8 and vorbis ..
apt-get install vorbis-tools openjdk-8-jdk -y
# install deb from subsonic.org or this one worked for me ..
wget http://archive.getdeb.net/ubuntu/pool/apps/s/subsonic/subsonic_6.0-1~getdeb1_all.deb
dpkg -i subsonic_6.0-1~getdeb1_all.deb
OLD NOTES :
I may cold have got this to work with JDK and not JRE
using this guide ,,,
http://askubuntu.com/questions/763494/t ... -candidate
https://internetfounder.wordpress.com/2 ... te-method/
with openjdk-8-jre
- Code: Select all
root@plex:~# /etc/init.d/subsonic restart
[ ok ] Restarting subsonic (via systemctl): subsonic.service.
root@plex:~# curl http://localhost:4040 -vL
* Rebuilt URL to: http://localhost:4040/
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 4040 (#0)
> GET / HTTP/1.1
> Host: localhost:4040
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: JSESSIONID=17kvuzgkuo8gb;Path=/
< Location: http://localhost:4040/login.view;jsessionid=17kvuzgkuo8gb?
< Content-Length: 0
< Server: Jetty(6.1.x)
<
* Connection #0 to host localhost left intact
* Issue another request to this URL: 'http://localhost:4040/login.view;jsessionid=17kvuzgkuo8gb?'
* Found bundle for host localhost: 0x55b9a273a400 [can pipeline]
* Re-using existing connection! (#0) with host localhost
* Connected to localhost (127.0.0.1) port 4040 (#0)
> GET /login.view;jsessionid=17kvuzgkuo8gb? HTTP/1.1
> Host: localhost:4040
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 500 Unable to compile class for JSPGenerated servlet errorThe type javalangObject cannot be resolved It is indirectly referenced from required class files
< Content-Language: en
< Content-Length: 0
< Server: Jetty(6.1.x)
<
* Connection #0 to host localhost left intact
root@plex:~#
with alian'ed rpm jre_1.7.080-1_amd64.deb
- Code: Select all
file /usr/java/jre1.7.0_80/bin/java
/usr/java/jre1.7.0_80/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=b82a586842f6da3df8a61093daadf04180e85c16, not stripped
root@plex:~# java
The program 'java' can be found in the following packages:
* default-jre
* gcj-5-jre-headless
* openjdk-8-jre-headless
* gcj-4.8-jre-headless
* gcj-4.9-jre-headless
* openjdk-9-jre-headless
Try: apt install <selected package>
- Code: Select all
root@plex:~# export PATH=$PATH:/usr/java/jre1.7.0_80/bin
root@plex:~# export JAVA_HOME=/usr/java/jre1.7.0_80/
root@plex:~# export PLUGIN_HOME=/usr/java/jre1.7.0_80/lib
root@plex:~# /usr/java/jre1.7.0_80/bin/java -fullversion
java full version "1.7.0_80-b15"
root@plex:~# java
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object