I've developed a desktop application using Apache Pivot for the UI.
Everything runs fine when launched from Netbeans, but when I try to execute the .jar file on it's own I get the following error;
Exception in thread "main" java.lang.ExceptionInInitializerError
at **********.Main.main(Main.java:14)
Caused by: java.lang.NumberFormatException: Value out of range. Value:"131" Radix:10
at java.lang.Byte.parseByte(Unknown Source)
at java.lang.Byte.parseByte(Unknown Source)
at org.apache.pivot.util.Version.decode(Version.java:150)
at org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1697)
... 1 more
It seems like there are arguments Pivot isn't expecting, but this was run with the command;
java -jar {filename}.jar
The folowing enviroment;
- Windows 10
- Netbeans 8.2
- Java version "1.8.0_131"
- JDK "1.8.0_60"
- Apache Pivot 2.0.4