Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9879 closed defect (fixed)

JOSM does'nt start Version 6950 / UBUNTU 12.4 LTS

Reported by: eknus@… Owned by: eknus@…
Priority: normal Milestone: 14.04
Component: Core Version: tested
Keywords: ubuntu java6 Cc:

Description (last modified by Don-vip)

I use UBUNTU 12.4 (therefor with OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
)

After Web start JOSM asked for JAVA7 ... i skipped (because Ubuntu uses OpenJDK and not Oracle) and then JOSM
Freeze with the Message "Plattform-Start auführen".
The "running bar is running" , but nothing happens.

OSM-User eknus

Attachments (3)

Veraltete Java-Version_055.jpeg (50.7 KB ) - added by eknus@… 11 years ago.
Screen with "Oracle" under UBUNTU 12.4
Freeze _059.jpeg (28.4 KB ) - added by eknus@… 11 years ago.
"Freeze Screen"
Freeze _059.2.jpeg (28.4 KB ) - added by eknus@… 11 years ago.
After Clicking "Java akualisieren" = Update JAVA (the Same :-) )

Download all attachments as: .zip

Change History (15)

comment:1 by Don-vip, 11 years ago

Description: modified (diff)
Owner: changed from team to eknus@…
Status: newneedinfo

We need more info to help you. Can you please:

  • post a screenshot of the update dialog
  • post a screenshot of the splash screen when stuck
  • tell us what you click on "update Java" -> it should install OpenJDK7 (not Oracle, don't be afraid)
  • if it does not work, start JOSM with "java -jar josm-tested.jar" and attach your status report (help -> show status report)
  • copy and paste console output

Thanks.

comment:2 by Don-vip, 11 years ago

Keywords: ubuntu java6 added

comment:3 by eknus@…, 11 years ago

Resolution: fixed
Status: needinfoclosed

I fixed it ...

you need first to deinstall JRE6 and then (afterwards) install jre7.
Only installing jre7 doesn't work.

The messagescreen with "ORACLE" JAVA is imho missleading.
It's necessary to use JAVA 7 and you have to deinstall JAVA6.
Sorry for thins confusion.

Michael

comment:4 by Don-vip, 11 years ago

Resolution: fixed
Status: closedreopened

You shouldn't see any mention about Oracle, it's not intended this way.

comment:5 by Don-vip, 11 years ago

Milestone: 14.04

by eknus@…, 11 years ago

Screen with "Oracle" under UBUNTU 12.4

comment:6 by Don-vip, 11 years ago

Resolution: fixed
Status: reopenedclosed

In 6951/josm:

fix #9879 - make sure to not mention Oracle for OpenJDK-based JVMs

by eknus@…, 11 years ago

Attachment: Freeze _059.jpeg added

"Freeze Screen"

comment:7 by Don-vip, 11 years ago

thanks for the report! It should work fine with next version.

by eknus@…, 11 years ago

Attachment: Freeze _059.2.jpeg added

After Clicking "Java akualisieren" = Update JAVA (the Same :-) )

comment:8 by Don-vip, 11 years ago

In 6952/josm:

fix #9879 - fix unreported EDT violation that may cause freeze during startup

comment:9 by skyper, 11 years ago

As you can have install openjdk6 and 7 at the same time and default is set through alternatives, it is probably smart to simply use the direct path to the binary (/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java on 64bit). Otherwise it gets complicated.

comment:10 by bastiK, 11 years ago

You can use

update-alternatives --config java

to select the default Java version if more than one is installed.

in reply to:  10 ; comment:11 by skyper, 11 years ago

Replying to bastiK:

You can use

update-alternatives --config java

to select the default Java version if more than one is installed.

Sure but this is will not work without some admin rights (at least on Debian) and sets it globally. Though this would be the best choice compared to running the buggy openjdk-6 from Debian ATM, it might not be possible on all systems.

Gonna have a look at the start script. We probably can catch the java version there.

in reply to:  11 comment:12 by skyper, 11 years ago

Replying to skyper:

Gonna have a look at the start script. We probably can catch the java version there.

Right we already have a check and spread a list of possibility. Gonna test tomorow if I find some minutes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain eknus@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.