Skip to content

Release jar 2.9.3 not compatible with jre6 #110

Closed

Description

@pietrygamat
No description provided.

Activity

  1. tresf commented on Aug 6, 2021

    @tresf

    Hmmm.. that may be my mistake. I wasn't paying close attention to the JDK version we used. I'll re-build it now and attach a copy here.

  2. tresf commented on Aug 6, 2021

    @tresf

    This one should be better. We built the binary using Homebrew's version of Maven, which ignores the default Java version of the system. Using JAVA_HOME, here's one that should be compatible with Java 6.

    jssc-2.9.3.jar.zip

  3. tresf commented on Aug 6, 2021

    @tresf

    I've re-uploaded the release artifact: https://github.com/java-native/jssc/releases/tag/v2.9.3. Please feel to re-open if you believe this is closed in error. :)

  4. pietrygamat commented on Aug 17, 2021

    @pietrygamat
    CollaboratorAuthor

    That looks like a reference to this problem. I'll reopen.

  5. tresf commented on Aug 18, 2021

    @tresf

    That looks like a reference to this problem. I'll reopen.

    Can you please explain? I don't understand how they are related?

  6. tresf commented on Aug 18, 2021

    @tresf

    Oh, I see the OP claims that the binaries were built with the wrong JDK. That's odd, I'm pretty sure I rebuilt them with JDK8. This time, @GMKennedy rebuilt them, hopefully they're ok now.

  7. tresf commented on Aug 18, 2021

    @tresf

    I've tested @GMKennedy's release with Java 1.6 and it works fine. Closing. Please use https://github.com/java-native/jssc/releases/tag/v2.9.4.

    /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac -source 1.7 -target 1.7 -cp jssc-2.9.4.jar Main.java
    /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -cp .:jssc-2.9.4.jar Main  
    # Exception in thread "main" java.lang.UnsupportedClassVersionError: Main : Unsupported major.minor version 51.0
    
    /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac -source 1.6 -target 1.6 -cp jssc-2.9.4.jar Main.java
    /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -cp .:jssc-2.9.4.jar Main     
    # /dev/cu.Bluetooth-Incoming-Port
    # /dev/cu.BoseMicroSoundLink-SPPD
    # /dev/cu.debug-console
    # /dev/cu.wlan-debug
    # /dev/tty.Bluetooth-Incoming-Port
    # /dev/tty.BoseMicroSoundLink-SPPD
    # /dev/tty.debug-console
    # /dev/tty.wlan-debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions