#1945 open
Boris

2.99 pre 4 doesn't start on Linux

Reported by Boris | January 11th, 2016 @ 09:37 AM | in 2.1 Release

While version 2.5.6 still runs, version 2.99 doesn't start:

boris@linux-t420:~> java -Xmx512m -jar /home/boris/bin/JBidwatcher-2.99pre4.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jbidwatcher/app/JBidWatch : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at com.simontuffs.onejar.JarClassLoader.defineClass(JarClassLoader.java:803) at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:710) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at com.simontuffs.onejar.JarClassLoader.loadClass(JarClassLoader.java:630) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at com.simontuffs.onejar.Boot.run(Boot.java:336) at com.simontuffs.onejar.Boot.main(Boot.java:168)

What might be wrong?

Comments and changes to this ticket

  • Boris

    Boris January 11th, 2016 @ 09:39 AM

    Maybe better to read:

    boris@linux-t420:~> java -Xmx512m -jar /home/boris/bin/JBidwatcher.jar

    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jbidwatcher/app/JBidWatch : Unsupported major.minor version 52.0

        at java.lang.ClassLoader.defineClass1(Native Method)
    
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    
        at com.simontuffs.onejar.JarClassLoader.defineClass(JarClassLoader.java:803)
    
        at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:710)
    
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    
        at com.simontuffs.onejar.JarClassLoader.loadClass(JarClassLoader.java:630)
    
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    
        at com.simontuffs.onejar.Boot.run(Boot.java:336)
    
        at com.simontuffs.onejar.Boot.main(Boot.java:168)
    
  • Morgan Schweers

    Morgan Schweers January 11th, 2016 @ 09:53 AM

    Greetings,

    JBidwatcher 2.99pre4 requires Oracle's Java 8. That's probably what you're running into.

    Unfortunately even with Java 8 on Linux, JBIdwatcher also needs to be unarchived and run as an application, not a single JAR file like before.

    I haven't figured out how to properly ship the new version for Linux yet. The most likely result will be a tarball and a shell script, but figuring out JAVA_HOME is likely to be a bit difficult.

    I wish you the best of luck with your auctions, and I'll try to figure out the Linux deployment solution as soon as I can.

    -- Morgan Schweers

    [state: acknowledged]

  • Boris

    Boris January 11th, 2016 @ 01:58 PM

    Seems so:

    boris@linux-t420:~> java -version

    java version "1.7.0_91"

    OpenJDK Runtime Environment (IcedTea 2.6.2) (suse-24.24.1-x86_64)

    OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

    It's the default of my openSUSE.

  • Morgan Schweers

    Morgan Schweers January 11th, 2016 @ 03:04 PM

    • State changed from “new” to “open”

    Greetings,
    As per this comment, once you have Oracle's Java 8 installed, you could try this:

    unzip JBidwatcher-2.99pre4.jar -d jbidwatcher/
    

    and then

    cd jbidwatcher/
    
    java -cp lib/annotations.jar:lib/aopalliance.jar:lib/appbundler-1.0ea.jar:lib/apple.jar:lib/derby.jar:\
    lib/guice-3.0.jar:lib/guice-assistedinject-3.0.jar:lib/jDeskMetrics.jar:lib/javax.inject.jar:lib/jdesktop.jar:\
    lib/jl1.0.1.jar:lib/jline-2.11.jar:lib/jruby-incomplete.jar:lib/json_simple-1.1.jar:lib/jsoup-1.7.1.jar:\
    lib/jsr305-1.3.9.jar:lib/l2fprod-common-fontchooser.jar:lib/mahalo.jar:lib/mysql-connector-java-5.1.7-bin.jar:\
    lib/readline.jar:lib/txtmark.jar:lib/jbidwatcher:main/main.jar com.jbidwatcher.app.JBidWatch
    

    That's the core command that's needed to run JBidwatcher.

    -- Morgan Schweers

  • Kate Brown

    Kate Brown February 11th, 2021 @ 12:01 PM

    Do you want to know if the writers at writepaperfor me compose a good paper for you? It seems so, my essay was great and without mistakes.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages