Open etcadinfinitum opened 5 years ago
Fixed problem for Windows by updating pom.xml build file (had multiple mvn version statements)
@karthikvetrivel can you try and build the project using your Macbook Pro now that I have updated the pom. Let me know if it works, otherwise upload a screen shot of the build error.
currently the jdk and jre should be java 8 releases. Java 11 will not work.
java with javac 1.8.0-144 is known to work
Maven version 3.6 is default and should use the jre and jdk corresponding to the version listed above
added to documentation about java version
Clarify the importance of mvn with java 8, provide linux line for switching java versions
also MacOS and windows (lets put this in its own file if formatting can be better)
@karthikvetrivel if you have time, please check out the requirements for MacOS
It seems to run fine on Windows 10, Mac OS, and Ubuntu as long as the have java 8 installed and are using
Java version: 1.8.0_111 or similar
I can confirm that using 1.8.0_261 causes issues with the builder components. It seems that some of the older code (the remaining java Swing code associated with the Dialog Inputs) are running into versioning issues. It is likely that updating the Dialog classes in /Workbench/ui/ that still contain Java Swing to use Java FX would fix this versioning problem
I have updated the name of this issue to reflect the source of the problem. Basically, the user needs to make sure to use an early version of Java 8, which is a pain, or multiple classes need to be updated to use Java FX instead of Java Swing. Note that this is a rather large task, as there are some 8 classes requiring this update. ScriptSpecificationDialog was written by myself, and is in JavaFX. The list below corresponds to all the known remaining classes containing Swing.
[ ] DynamicInputConfigurationDialog
[ ] InputConfigClassSelectionDialog
[ ] LoginCredentialsDialog
[ ] NewProjectDialog
[ ] ParamsClassesConfigDialog
[ ] ScriptSpecificationDialog
[ ] WorkbenchControlFrame
After additional testing, it was determined that the java Swing code is likely not the root cause of java version issues. This was determined when I tried to compile and run using java 8 subversion 200 something. When doing so the maven compiler could not find a single one of the imported classes associated with javaFX. This issue is likely related to the pom.xml file used to compile and run Workbench. There is likely a versioning issue still present in this file.
To do:
System information:
Possibly useful resources & documentation: