stable version deb package error

55 views
Skip to first unread message

mojalovaa1

unread,
Feb 15, 2016, 4:08:26 AM2/15/16
to OpenPnP
Hi
I m try install new version openpnp in deb package and have this error :

dpkg: error processing archive /home/elektronika/Downloads/OpenPnP-linux-develop.deb (--install):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'openpnp':
 error in 'Version' field string 'f2e3aa40a01cbc8c656c2bc3fd04a6c8f6e2d1b0': version number does not start with digit
Errors were encountered while processing:
 /home/elektronika/Downloads/OpenPnP-linux-develop.deb

mojalovaa1

unread,
Feb 15, 2016, 4:33:39 AM2/15/16
to OpenPnP
After  dowvnload .sh file  ,  and start install then say next :

java.lang.UnsupportedClassVersionError: org/openpnp/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:59)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)


And how I can see is not make  folder with name /.openpnp

Jason von Nieda

unread,
Feb 15, 2016, 10:55:04 AM2/15/16
to OpenPnP
Hi Moja,

The first error, with the .deb, sounds like a bug in install4j due to how I format version numbers. I've filed a ticket to fix that: https://github.com/openpnp/openpnp/issues/218

The second error, with the UnsupportedClassVersionError is due to your using the wrong Java version. The current code requires Java 8. If you remove Java 7 (or 6, or whatever you are using) and install Java 8 you should be okay.

Jason


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/f060b8b0-cf29-4563-ade3-de4572ca4ebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages