Page 1 of 1

[SOVED] ubuntu 16.04 failsause

PostPosted: Sun Jan 15, 2017 12:05 pm
by operat0r
SOLUTION :
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

Re: [SOVED] ubuntu 16.04 failsause

PostPosted: Tue Jan 17, 2017 11:30 am
by Tak-MK
I don't understand your problem, but if you solved it, please say it so it can help to everyone :D

Re: [SOVED] ubuntu 16.04 failsause

PostPosted: Thu Feb 23, 2017 1:05 am
by operat0r
Tak-MK wrote:I don't understand your problem, but if you solved it, please say it so it can help to everyone :D


it was java issue that I think fixed it self on apt-get update (see the first block of code) the subsonic before wanted old ass java to run if I remember.. it was a java issue ..