Menu

#412 Some java give "....-internal" Version numbers hindering OpenJump to start

closed-fixed
nobody
None
Linux/Unix
3
2016-01-13
2016-01-07
Simon Mayer
No

Hi there
I installed OpenJump on a debian with OpenJDK 1,8,072 and tried to fire it up.

It Gave me the Message

Your java version '' is insufficient to run OpenJUMP.
Please provide an at least a version '1.6' Java Runtime.
press Enter to finish

I singled it down to the line that extracts the version out of the versionstring;
My VERSIONSTRING echoes:

openjdk version "1.8.0_72-internal" OpenJDK Runtime Environment (build 1.8.0_72-internal-b05) OpenJDK 64-Bit Server VM (build 25.72-b05, mixed mode)

Exactly like me your script gets confused by this "internal" stuff. I'v got no idea why i dont have a normal version, i thnk i just have the debian apt-get default.

I thought about making the script accept internal java versions. Sadly the only thing i know about awk is is that it rhymes with hawk. So I cheated and put in the VERSION variable manually, which worked. I'm 100% sure you are better at this.

Cheers, Simon

Discussion

  • mentaer

    mentaer - 2016-01-08

    answer from ede

    Simon,

    should be fixed in the latest snapshot, please try r4742 (if it builds .
    http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/

    what version of OJ did you install that did not work?

    ..ede

     
  • mentaer

    mentaer - 2016-01-08
    • status: open --> closed-fixed
     
  • Simon Mayer

    Simon Mayer - 2016-01-11

    I installed OpenJDk via apt-get on debian/testing.
    "sudo apt-get install openjdk-8-jre".
    So I don't have miuch information there.

     
  • ede

    ede - 2016-01-11

    hey Simon,

    as i wrote above - can you try the latest snapshot please?

    thx.. ede

     
  • Simon Mayer

    Simon Mayer - 2016-01-13

    i tried the last snapshot and it worked.

     

Log in to post a comment.