subject : I am having issues with CS studio after switching release versions.
Hi, this morning I wanted to run cs studio I was originally using the latest snapshot. however, my Java Runtime was not up to date and could not recognize class file version 61.0 and could only recognize up to
55.0. I decided to switch to an official release of cs-studio so i would not have to worry about updating things.
this is the current configuration I have
installed location: /home/saunders/cs_studio/Phoebus-4.7.3-linux/product-4.7.3
current user directory: /home/saunders/cs_studio/Phoebus-4.7.3-linux/product-4.7.3
java home: /usr/lib/jvm/java-11-openjdk-11.0.20.1.1-2.el9.x86_64
java version Oracle Corporation 11.0.20.1+1-LTS
cs studio will now open but when i try to run one of the .bob files to test one of my displays i get the following error pop up with the following text
/home/saunders/cs_studio/vacumeguagetest.bob
could not initialize class java.awt.Color
java.lang.NoClassDefFoundError: could not initialize class java.awt.Color
[1] could not initialize class java.awt.Color
under the see details it says this
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.lambda$loadDisplayFile$4(DisplayRuntimeInstance.java:304)
at org.phoebus.framework.jobs.Job.execute(Job.java:50)
at org.phoebus.framework.jobs.JobManager.execute(JobManager.java:54)
at org.phoebus.framework.jobs.JobManager.lambda$schedule$0(JobManager.java:45)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color
at org.csstudio.display.builder.representation.javafx.JFXRepresentation.updateBackground(JFXRepresentation.java:855)
at org.csstudio.display.builder.representation.javafx.JFXRepresentation.execute(JFXRepresentation.java:672)
at org.csstudio.display.builder.representation.javafx.JFXRepresentation.lambda$new$1(JFXRepresentation.java:153)
at org.csstudio.display.builder.representation.javafx.JFXRepresentation.representModel(JFXRepresentation.java:642)
at org.csstudio.display.builder.runtime.app.DockItemRepresentation.representModel(DockItemRepresentation.java:142)
at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.representModel(DisplayRuntimeInstance.java:400)
at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.lambda$loadDisplayFile$2(DisplayRuntimeInstance.java:303)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316)
this is the case for any of the displays I try and run including the displays that come with the program including the home display. If anyone has any insight into what is going on here please let me know