RPI Problems....perhaps Java failure?

Questions about joining this site
Post Reply
MAGIC57
Posts: 2
Joined: Wed Aug 09, 2017 11:46 pm

RPI Problems....perhaps Java failure?

Post by MAGIC57 »

Hi Modesfan and the crew,

perhaps you can help with this problem?
After sharing 24/7 on Windows, since 3 days i got no connection to the database, i decided to stream data on the RPI.
I installed "modesfiltered", did the necessary setting in "variables.txt", "modes.sh" was copied to "etc/init.d" as described, but when i'm checking the output log, i got this message:

pi@raspradar:~/modesfiltered $ cat /var/log/modes.log
Exception in thread "main" java.lang.UnsupportedClassVersionError: modesproject/Logging_ModeS : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Any idea? Perhaps there is a Java failure?
I'm not the RPI/Linux expert, i can copy files, make it executeable, start, stop and show the status.... that's it, unfortunately!
MAGIC57
Posts: 2
Joined: Wed Aug 09, 2017 11:46 pm

Re: RPI Problems....perhaps Java failure?

Post by MAGIC57 »

One addition to my last post... when i check the status of modes.sh it seems active and running....

pi@raspradar:~ $ sudo service modes status
● modes.service - LSB: modes initscript
Loaded: loaded (/etc/init.d/modes.sh)
Active: active (exited) since Wed 2018-05-23 09:28:32 CEST; 15min ago
Process: 13917 ExecStart=/etc/init.d/modes.sh start (code=exited, status=0/SUCCESS)

May 23 09:28:32 raspradar modes.sh[13917]: modesfiltered.jar started
May 23 09:28:32 raspradar systemd[1]: Started LSB: modes initscript.
modesfan
Posts: 111
Joined: Thu Apr 07, 2016 7:37 pm

Re: RPI Problems....perhaps Java failure?

Post by modesfan »

Hello Magic57,
sounds like that you have not Java 8 / 52 installed as you already supposed.

Please check the version of your installed java and the operating system.

Code: Select all

java -version
cat /etc/os-release
Post Reply