I am using Arch Linux, and did manually install the latest Sun Java JRE (7u21).
When I am trying to start HelloNZB I get the following Error:
$> java -jar HelloNzb.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
at me.mabra.hellonzb.HelloNzb.<init>(HelloNzb.java:121)
at me.mabra.hellonzb.HelloNzb.main(HelloNzb.java:99)
Caused by: java.lang.NullPointerException
at me.mabra.hellonzb.statistics.HelloNzbUsageStats.createUUID(HelloNzbUsageStats.java:203)
at me.mabra.hellonzb.statistics.HelloNzbUsageStats.<clinit>(HelloNzbUsageStats.java:60)
... 2 more</clinit></init>
Any ideas?
Thank you very much in advance,
regards,
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello and thanks for your bug report. This seems to be a problem under Linux which I have not encountered so far. I have created a small patch, which I can't test here, as HelloNzb runs fine on my Linux machine. Can you test it for me please? You can find the updated version of HelloNzb attached to this post.
By the way if you start the .jar file directly, and want to download larger files, then you might want to start the application like this:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-05-04
I have the thame Error.
V 1.2.1 starts, V1.2.2 not
I testet the Version in your Attachment ... it doesnt work for me.
java -jar path
Exception in thread "main" java.lang.UnsupportedClassVersionError: me/mabra/hellonzb/HelloNzb : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
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)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
Could not find the main class: me.mabra.hellonzb.HelloNzb. Program will exit.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The second error is different from the one in your original post.
Do you have a 64 bit version of Java installed?
If so, could you install a 32 bit version of Java and try HelloNzb with that again?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-05-04
Yes, I must correct anything.
The Firs Errormessage cames from a 32bit Debian, installed in VirtualPC,
the second comes from a 64bit Server with Debian , too.
And sorry, only on the 32bit VirtuellPC can i run the older Versions.
On the 64 bit Server the older Versions did not start, too
I have installed the OpenjDK runtime, thats standart by Debian.
I tryed Sun Java too, but theres no diffrence
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes indeed, so the problem is that you are trying to run HelloNzb with a 64 bit version of Java. The 64 bit Java version however is incompatible with HelloNzb.
Can you install a 32 bit Java version on that machine and try it again please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-05-22
Hello again
Iam not shure if it makes troubel, a 32bit java on a 64bit Sytem.
It may be the Error but, i wan´t try it.
The virtuell Version where hellonzb runs till V1.2.1 ist 32Bit (debian-6.0.6-i386-netinst.iso)
I have tested 3 Java Versions, none from that works with the newer Hellonzbversion 1.2.2
Es gibt 3 Auswahlmöglichkeiten für die Alternative java (welche /usr/bin/java bereitstellen).
Auswahl Pfad Priorität Status
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 Auto-Modus
1 /usr/bin/gij-4.4 1044 manueller Modus
2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manueller Modus
3 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manueller Modus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Running a 32bit Java on a 64bit machine works fine, I do that all the time here. Please make sure that you have installed a 32bit Java version when you test it.
To test please run the following:
shell> java -jar HelloNzb.jar
If that doesn't work, then please post here the output of the following:
shell> java -version
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-05-25
For past few days I can't run HelloNzb. Upon startup I get "Launch4j: This application requires a Java Runtime Environment 1.6.0"
I'm running Windows 7 with Java 32 bit 1.7.0_21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dunno without further information. Please post the output when you start the .jar file from command line, as described on the homepage.
PS: Please start a new thread for a new topic here, thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-01-17
1.4.2 won't start with the following error. 1.4.1.2 works fine.
Exception in thread "main" java.lang.UnsupportedClassVersionError: me/mabra/hell
onzb/HelloNzb : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
I'm running on windows.
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-01-18
Hi, I installed java8 in Linux and started the program, however I get this error:
Exception in thread "Thread-9" java.lang.NoClassDefFoundError: me/mabra/hellonzb/util/BackgroundWorker$2
at me.mabra.hellonzb.util.BackgroundWorker.checkCommFromInstance(Unknown Source)
at me.mabra.hellonzb.util.BackgroundWorker.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: me.mabra.hellonzb.util.BackgroundWorker$2
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 2 more
Could you please help me? Thanks a lot!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is very weird. So do you start HelloNzb via "java -jar HelloNzb.jar" from command line? Please specify exactly how you start it. And two more questions:
Does the error occur when you start the application, or during runtime?
Does it work if you use HelloNzb version 1.4.1.2?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am using Arch Linux, and did manually install the latest Sun Java JRE (7u21).
When I am trying to start HelloNZB I get the following Error:
$> java -jar HelloNzb.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
at me.mabra.hellonzb.HelloNzb.<init>(HelloNzb.java:121)
at me.mabra.hellonzb.HelloNzb.main(HelloNzb.java:99)
Caused by: java.lang.NullPointerException
at me.mabra.hellonzb.statistics.HelloNzbUsageStats.createUUID(HelloNzbUsageStats.java:203)
at me.mabra.hellonzb.statistics.HelloNzbUsageStats.<clinit>(HelloNzbUsageStats.java:60)
... 2 more</clinit></init>
Any ideas?
Thank you very much in advance,
regards,
Bill
Hello and thanks for your bug report. This seems to be a problem under Linux which I have not encountered so far. I have created a small patch, which I can't test here, as HelloNzb runs fine on my Linux machine. Can you test it for me please? You can find the updated version of HelloNzb attached to this post.
By the way if you start the .jar file directly, and want to download larger files, then you might want to start the application like this:
shell$ java -Xms265M -Xmx1024M -jar /path/to/HelloNzb.jar
You can find more information on this at http://hellonzb.sourceforge.net/wp/get-hellonzb/.
Please let us know how this updated version works for you!
I have the thame Error.
V 1.2.1 starts, V1.2.2 not
I testet the Version in your Attachment ... it doesnt work for me.
java -jar path
Exception in thread "main" java.lang.UnsupportedClassVersionError: me/mabra/hellonzb/HelloNzb : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
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)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
Could not find the main class: me.mabra.hellonzb.HelloNzb. Program will exit.
The second error is different from the one in your original post.
Do you have a 64 bit version of Java installed?
If so, could you install a 32 bit version of Java and try HelloNzb with that again?
Yes, I must correct anything.
The Firs Errormessage cames from a 32bit Debian, installed in VirtualPC,
the second comes from a 64bit Server with Debian , too.
And sorry, only on the 32bit VirtuellPC can i run the older Versions.
On the 64 bit Server the older Versions did not start, too
I have installed the OpenjDK runtime, thats standart by Debian.
I tryed Sun Java too, but theres no diffrence
What does the following command show you?
Last edit: Matthias 2013-05-04
Sorry, i have not many Time this Days
On the Debian Server where nothing Starts
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
On the Virtuel 32Bit Sytem, where starts the Version under 1.2.2
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
Yes indeed, so the problem is that you are trying to run HelloNzb with a 64 bit version of Java. The 64 bit Java version however is incompatible with HelloNzb.
Can you install a 32 bit Java version on that machine and try it again please?
Hello again
Iam not shure if it makes troubel, a 32bit java on a 64bit Sytem.
It may be the Error but, i wan´t try it.
The virtuell Version where hellonzb runs till V1.2.1 ist 32Bit (debian-6.0.6-i386-netinst.iso)
I have tested 3 Java Versions, none from that works with the newer Hellonzbversion 1.2.2
Es gibt 3 Auswahlmöglichkeiten für die Alternative java (welche /usr/bin/java bereitstellen).
Auswahl Pfad Priorität Status
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 Auto-Modus
1 /usr/bin/gij-4.4 1044 manueller Modus
2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manueller Modus
Running a 32bit Java on a 64bit machine works fine, I do that all the time here. Please make sure that you have installed a 32bit Java version when you test it.
To test please run the following:
shell> java -jar HelloNzb.jar
If that doesn't work, then please post here the output of the following:
shell> java -version
Cheers
For past few days I can't run HelloNzb. Upon startup I get "Launch4j: This application requires a Java Runtime Environment 1.6.0"
I'm running Windows 7 with Java 32 bit 1.7.0_21
What do you mean with "for past few days" -- has it worked before?
Have you installed a new version of HelloNzb since?
Hi,
HelloNZB will not start when java 8.0 Update 25 is installed - is it only me or is this a know issue?
brgds / U
Dunno without further information. Please post the output when you start the .jar file from command line, as described on the homepage.
PS: Please start a new thread for a new topic here, thanks.
1.4.2 won't start with the following error. 1.4.1.2 works fine.
Exception in thread "main" java.lang.UnsupportedClassVersionError: me/mabra/hell
onzb/HelloNzb : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
I'm running on windows.
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
Please install latest Java 8 and try again.
Thanks. Is Sun Java 8 is required now?
Yes.
Hi, I installed java8 in Linux and started the program, however I get this error:
Exception in thread "Thread-9" java.lang.NoClassDefFoundError: me/mabra/hellonzb/util/BackgroundWorker$2
at me.mabra.hellonzb.util.BackgroundWorker.checkCommFromInstance(Unknown Source)
at me.mabra.hellonzb.util.BackgroundWorker.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: me.mabra.hellonzb.util.BackgroundWorker$2
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 2 more
Could you please help me? Thanks a lot!
Do you use the Oracle Java, or the Open Source alternative?
Last edit: Matthias 2015-01-18
I use Oracle Java running on a 32-bit Ubuntu 14.04 machine...
This is very weird. So do you start HelloNzb via "java -jar HelloNzb.jar" from command line? Please specify exactly how you start it. And two more questions: