Modify

Opened 7 years ago

Closed 7 years ago

#16305 closed defect (worksforme)

wrong old java warning on macOS

Reported by: dieterdreist Owned by: dieterdreist
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report macos Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. startup JOSM

What is the expected result?

-

What happens instead?

get a warning popup to update java, s. screenshot

Please provide any additional information below. Attach a screenshot if possible.


Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-05-22 02:42:11 +0200 (Tue, 22 May 2018)
Revision:13817
Build-Date:2018-05-22 01:33:12
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13817 en) Mac OS X 10.13.4
OS Build number: Mac OS X 10.13.4 (17E202)
Memory Usage: 256 MB / 2048 MB (55 MB allocated, but free)
Java version: 10+46, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 188875522 1920x1080, Display 458628992 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Dsun.java2d.opengl=true]

Plugins:
+ ColorPlugin (1511895663)
+ Create_grid_of_ways (34109)
+ ImportImagePlugin (34109)
+ PicLayer (34170)
+ ShapeTools (1230)
+ apache-commons (34109)
+ buildings_tools (34212)
+ editgpx (34109)
+ ejml (34126)
+ fieldpapers (v0.4.3)
+ geochat (34109)
+ geojson (80)
+ geotools (34125)
+ imagery_offset_db (34209)
+ jts (34038)
+ log4j (34038)
+ mbtiles (a3e491d)
+ measurement (34109)
+ o5m (34109)
+ osmarender (34096)
+ pbf (34109)
+ photo_geotagging (34109)
+ reltoolbox (34212)
+ reverter (34109)
+ undelete (34109)
+ utilsplugin2 (34109)

Last errors/warnings:
- W: Invalid jar file ''<josm.userdata>/plugins/buildings_tools.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.userdata>/plugins/reltoolbox.jar.new'' (exists: false, canRead: false)
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
- W: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect

Attachments (3)

Screen Shot 2018-05-22 at 18.34.03.png (31.4 KB ) - added by dieterdreist 7 years ago.
Screen Shot 2018-05-22 at 18.38.04.png (52.9 KB ) - added by dieterdreist 7 years ago.
Screen Shot 2018-05-22 at 18.38.12.png (35.4 KB ) - added by dieterdreist 7 years ago.

Download all attachments as: .zip

Change History (10)

by dieterdreist, 7 years ago

by dieterdreist, 7 years ago

by dieterdreist, 7 years ago

comment:1 by stoecker, 7 years ago

Owner: changed from team to dieterdreist
Status: newneedinfo

Your status says: Java version: 10+46, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

That's Java 10 and not 10.0.1 → http://www.muchsoft.com/java/macosxjavaversions.html

Maybe you have more than 1 version installed and JOSM does not access the newest one?

comment:2 by Don-vip, 7 years ago

Description: modified (diff)

comment:3 by Don-vip, 7 years ago

Keywords: macos added
Summary: wrong old java warning on OSXwrong old java warning on macOS

comment:4 by dieterdreist, 7 years ago

Keywords: macos removed
Summary: wrong old java warning on macOSwrong old java warning on OSX

Maybe yes, it would not be the first time, already happened in the past, basically Java isn't very smoothly integrated on Macs since Apple dropped support some years ago.

I've found another version at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
although it is in "Internet Plugins", it is a command line java reporting this version: Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)

/usr/bin/java is linked to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
(where Current is linked to A).

Maybe this is helpful to other mac users.

Last edited 7 years ago by dieterdreist (previous) (diff)

comment:5 by dieterdreist, 7 years ago

sudo rm /usr/bin/java
Password:
rm: /usr/bin/java: Operation not permitted

I'll have to put a link where it links to.

The version in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java isn't shown:

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (2):
    10, x86_64:	"Java SE 10"	/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
    1.8.0_144, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home

comment:6 by Don-vip, 7 years ago

Keywords: macos added
Summary: wrong old java warning on OSXwrong old java warning on macOS

comment:7 by Don-vip, 7 years ago

Resolution: worksforme
Status: needinfoclosed

So you should make sure at least the first entry listed above is up-to-date.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dieterdreist.
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.