Page 1 of 1

Seadas java problems (openjdk11 and oracle 12)

Posted: Thu Sep 05, 2019 9:14 am America/New_York
by cortivo
Last version of Seadas (7.5.3) does not open using java openjdk11 or oracle 12. I'm using Debian Buster.
Java 8 from oracle is no longer available to download publically.
Using Java openjdk11 when I try to open Seadas by comand line I get this error and Seadas start to open but close soon

cortivo@cortivo:~$ seadas
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.converters.collections.TreeMapConverter (file:/opt/seadas-7.5.3/lib/xstream-1.4.2.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.converters.collections.TreeMapConverter
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019/09/05 10:11:01
server ocssw root path: /opt/seadas-7.5.3/ocssw/scripts
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel
  at com.jidesoft.plaf.LookAndFeelFactory.installJideExtension(Unknown Source)
  at com.jidesoft.plaf.LookAndFeelFactory.installJideExtension(Unknown Source)
  at com.jidesoft.plaf.LookAndFeelFactory.installJideExtension(Unknown Source)
  at com.jidesoft.swing.JideTabbedPane.updateUI(Unknown Source)
  at java.desktop/javax.swing.JTabbedPane.<init>(
  at com.jidesoft.swing.JideTabbedPane.<init>(Unknown Source)
  at com.bc.swing.desktop.TabbedDesktopPane.<init>(
  at org.esa.beam.visat.VisatApp.createDesktop(
  at org.esa.beam.visat.VisatApp.initClient(
  at org.esa.beam.framework.ui.BasicApp.startUp(
  at gov.nasa.gsfc.seadas.SeadasMain$
  at java.desktop/java.awt.event.InvocationEvent.dispatch(
  at java.desktop/java.awt.EventQueue.dispatchEventImpl(
  at java.desktop/java.awt.EventQueue$
  at java.desktop/java.awt.EventQueue$
  at java.base/ Method)
  at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(
  at java.desktop/java.awt.EventQueue.dispatchEvent(
  at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(
  at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(
  at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(
  at java.desktop/java.awt.EventDispatchThread.pumpEvents(
  at java.desktop/java.awt.EventDispatchThread.pumpEvents(
  at java.desktop/

Seadas java problems (openjdk11 and oracle 12)

Posted: Thu Sep 05, 2019 10:15 am America/New_York
by OB SeaDAS - knowles
You can download java 8 here:

SeaDAS 7 does not support java versions later than java 8.  


Seadas java problems (openjdk11 and oracle 12)

Posted: Thu Sep 05, 2019 1:38 pm America/New_York
by gnwiii
Debian does not provide non-free software, but there are efforts to provide supported free JDK options, mainly but not exclusively based on openJDK: Java is still free.   If your site policy requires current support,
IBM's Java might be a suitable replacement.   SeaDAS 7.5.3 does run under the IBM jre:
java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build - pxa6480sr5fp40-20190807_01(SR5 FP40))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20190802_424001 (JIT enabled, AOT enabled)
OpenJ9   - 106f6ce
OMR      - fe07f6f
IBM      - af2a365)
JCL - 20190712_01 based on Oracle jdk8u221-b11

ESA SNAP provides an Oracle Java runtime.   You can switch to the SNAP jre by editing the seadas script in the SeaDAS bin directory.
With SNAP installed in a user's home directory, the following change allows the jre to be shared between SNAP and SeaDAS-7:

$ diff seadas seadas-snapjre