Web Content Display

Web Content Display (CoastWatch User Forum)

The NOAA CoastWatch Forum provides information in several categories.  The information is relevant to CoastWatch products and software (https://coastwatch.noaa.gov)  and vary in technical details.  For questions and issues not addressed here,  start a thread in the appropriate category or contact the CoastWatch HelpDesk (coastwatch.info@noaa.gov).  Please note our Privacy Policy (https://www.noaa.gov/privacy.html) and that this is a public forum.  All information is voluntarily and anonymous submissions are accepted pending review prior to posting. 

Forums

Back

RE: Angel Segura problems with JAVA in ubuntu 16.04 (and then Panoply)

U
Anonymous, modified 3 Years ago.

Angel Segura

I have trouble in executing panoply under Ubuntu 16.04. Java 9 installed, but crash before start.

I could not find the issue with JRE. Any help is appreciated.

Thanks in advance

Angel

./panoply.sh

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f07bc2da009, pid=12941, tid=12995
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/user/Escritorio/TIOJORGE/SOFTWARE/PANOPLY/PanoplyJ/core.12941)
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Xms512m -Xmx1600m /home/user/Escritorio/TIOJORGE/SOFTWARE/PANOPLY/PanoplyJ/jars/Panoply.jar

Host: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, 4 cores, 15G, Ubuntu 16.04.7 LTS
Time: Mon May  3 17:19:41 2021 -03 elapsed time: 7 seconds (0d 0h 0m 7s)

 

In the console

user@user-HP-430-Notebook-PC:~$ java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)

 

 

MS
Michael Soracco, modified 3 Years ago.

RE: Angel Segura

Youngling Posts: 39 Join Date: 8/11/16 Recent Posts

What does the following do? 

cd  /home/user/Escritorio/TIOJORGE/SOFTWARE/PANOPLY/PanoplyJ/jars/

java -Xms512m -Xmx1600m -jar Panoply.jar

 

 

U
Anonymous, modified 3 Years ago.

RE: Angel Segura

The file readme.txt  says that when using ./panoply.sh the system tries to allocate 1GB memory to Panoply. You could check and see if you have the memory needed to open it. I have panoply running on Ubuntu 16.04 and I call it from ./panoply.sh and it works for me. If you are running a VM you may just need to give it more ram.

U
Anonymous, modified 3 Years ago.

RE: Angel Segura problems with JAVA in ubuntu 16.04 (and then Panoply)

Thanks for the replies!

I am running on the machine, with 15Gb of RAM. I think the problem is in the Java version. However, I am not able to install a version higher than 8.

I tried several ways but without success. If you have any tutorial o web to follow. Wheter to uninstall actual version and to install a newer one, I would be grateful.

Regards

Angel

executing

./panoply.sh

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: gov/nasa/giss/panoply/Panoply has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0