Using a newer, alternative Java should in general not be a problem with the
netCDF-Java library.
As for Panoply, it mostly works just fine with alternative Java installs.
It can be problematic on Windows due to how Windows registry keys are handled
and whether/how the alternative Javas try to work around that. The AdoptOpenJDK
install offer does offer a work around for this. Other alternative Javas may
not.
On macOS, there should be less fussing about. I have run Panoply on macOS using
AdoptOpenJDK's Java 14 and it's 99%+ the same experience as Java 8 - 13. Some
curiosities about the color theme of the file dialog window, but otherwise the
same.
Running Panoply, IDV, ToolsUI, etc on Linux installs should encounter even less
trouble.
rbs
--
Robert B. Schmunk
Webmaster / Senior Systems Programmer
NASA Goddard Institute for Space Studies
2880 Broadway, New York, NY 10025
-----Original Message-----
From: netcdf-java <netcdf-java-bounces@xxxxxxxxxxxxxxxx> on behalf of Martin
Desruisseaux <martin.desruisseaux@xxxxxxxxxxxx>
Organization: Geomatys
Date: Tuesday, June 23, 2020 at 3:56 PM
To: HAGIHARA Yuichiro <yu.hagihara@xxxxxxxxx>
Cc: "netcdf-java@xxxxxxxxxxxxxxxx" <netcdf-java@xxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: [netcdf-java] about applications using netCDF-Java lib
Hello Yuichiroさん
The Java Virtual Machine (JVM) downloaded from AdoptOpenJDK should be close
to identical to the Java shipped by Oracle. Panoply run well with OpenJDK 14 at
least on my machine. I suggest:
* Download a JVM from https://adoptopenjdk.net/
<https://urldefense.proofpoint.com/v2/url?u=https-3A__adoptopenjdk.net_&d=DwMDaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=ObgOyc0ZA16pUYS7QXU8zl-A-WUzVHPaNyUr1nNB0Qw&m=7StMaH2brZ7FxkskFHUtSNXSUBn1JkxHkybFk-O7cXU&s=fnwaBosmXE2ftsc0ItjTLM3-Qk2vOZzzmdLUqSNSLNg&e=>
(the default setting proposed on that page is okay).
* Unpack in any directory.
* Open a terminal (command line)
* Type the following command (replace "/path/to/java" by the path to the
directory where OpenJDK has been unpacked). It should print "openjdk version …"
/path/to/java/bin/java -version
* Launch Panoply as below (replace "/path/to/panoply" by the path to the
directory where Panoply is installed)
/path/to/java/bin/java -jar /path/to/panoply/jars/Panoply.jar
I have not tried Corretto and Zulu, but I guess it would work the same.
Regards,
Martin
Le 23/06/2020 à 19:24, HAGIHARA Yuichiro a écrit :
Dear all,
I have used the application using netCDF-Java library.
(e.g., https://www.giss.nasa.gov/tools/panoply/)
However,
- Final free version of Java for us is Java 8 Update 201(8u201) and
Update 202(8u202). And it will be end of updates in Jan. 2019.
- Java for us including recent versions released after Feb. 2019
will be non-free.
- I need to either transition to alternatives
(AdoptOpenJDK, Corretto and Zulu) or purchase a Java SE Subscription.
So, I want to know how you handled that.
Best regards,