Hi there,
I am trying to use the NGSEP GUI on an iMac running macOS Monterey. Since I cannot find the Java JDK 13, I had to install the version latest, which is 18. After running the "sh run.sh" command in the terminal, NGSEP opens fine but the font is unreadable 5SEE ATTACHED FILE°. In the terminal I get these error messages:
2022-03-31 10:09:35.146 java[50595:5945453] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2022-03-31 10:09:35.409 java[50595:5945482] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
Many MAC users have reported me this issue. Unfortunately, it looks like different solutions are needed for different versions of MAC. For that reason we have not been able to provide a definite solution. I think that besides the JDK, you may need to update the JavaFX SDK. Please follow these steps:
Download version 17 from this site (https://gluonhq.com/products/javafx/). You may need to find the most appropriate SDK for your hardware architecture.
Uncompress the zip at the same level where the distribution "javafx-sdk-11.0.2" is located within the NGSEP distribution for MAC
Edit the file "run.sh" making the option "-p" to point towards the lib subdirectory of the downloaded version of JavaFX, instead of "javafx-sdk-11.0.2/lib" (it should be replaced by something like "javafx-sdk-17.0.2/lib"
Restart NGSEP.
Please let me know if this works in your case.
Jorge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-04-26
Thanks Jorge,
Sorry for the late reply. I've tried your method and it worked, even on the newest M1 (ARM64) architecture. Will now try the different features.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your answer. I am glad to hear that it worked.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-02-09
Hi,
I'm getting a problem when running NGSEP on mac. When clicking on the NGSEPcore_4.3.1.jar file, the jar launcher does not start.
When I run the code on the shell file in my terminal I get the next error:
* Error: Could not find or load main class ngsepfx.Main
* Caused by: java.lang.ClassNotFoundException: ngsepfx.Main
Like to know how can I fix it.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your interest in NGSEP. The file NGSEPcore_4.3.1.jar is not expected to be executed with double click because it corresponds to the command line interface. If you wish to run the software from the command line, you can take a look to our training resources starting with the tutorial available here: https://sourceforge.net/projects/ngsep/files/training/Tutorial.txt/download
If you wish to run the graphical interface, you need to download the JavaFX distribution for MAC from here: https://sourceforge.net/projects/ngsep/files/GUIFX/NGSEPmac_4.3.1.tar.gz/download
After downloading, decompress the tar file and execute the run.sh script. Do not try to run directly a jar file because the software requires the specific JavaFX libraries for your operative system (available with the package). The run.sh script takes care of these dependencies.
Let me know how things go
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am trying to use the NGSEP GUI on an iMac running macOS Monterey. Since I cannot find the Java JDK 13, I had to install the version latest, which is 18. After running the "sh run.sh" command in the terminal, NGSEP opens fine but the font is unreadable 5SEE ATTACHED FILE°. In the terminal I get these error messages:
2022-03-31 10:09:35.146 java[50595:5945453] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2022-03-31 10:09:35.409 java[50595:5945482] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
Any idea on how to fix this?
Thanks very much !
Thanks for your interest in NGSEP
Many MAC users have reported me this issue. Unfortunately, it looks like different solutions are needed for different versions of MAC. For that reason we have not been able to provide a definite solution. I think that besides the JDK, you may need to update the JavaFX SDK. Please follow these steps:
Please let me know if this works in your case.
Jorge
Thanks Jorge,
Sorry for the late reply. I've tried your method and it worked, even on the newest M1 (ARM64) architecture. Will now try the different features.
Regards
Thanks for your answer. I am glad to hear that it worked.
Best regards
Hi,
I'm getting a problem when running NGSEP on mac. When clicking on the NGSEPcore_4.3.1.jar file, the jar launcher does not start.
When I run the code on the shell file in my terminal I get the next error: * Error: Could not find or load main class ngsepfx.Main * Caused by: java.lang.ClassNotFoundException: ngsepfx.Main
Like to know how can I fix it.
Thanks!
Hi
Thanks for your interest in NGSEP. The file NGSEPcore_4.3.1.jar is not expected to be executed with double click because it corresponds to the command line interface. If you wish to run the software from the command line, you can take a look to our training resources starting with the tutorial available here: https://sourceforge.net/projects/ngsep/files/training/Tutorial.txt/download
If you wish to run the graphical interface, you need to download the JavaFX distribution for MAC from here: https://sourceforge.net/projects/ngsep/files/GUIFX/NGSEPmac_4.3.1.tar.gz/download
After downloading, decompress the tar file and execute the run.sh script. Do not try to run directly a jar file because the software requires the specific JavaFX libraries for your operative system (available with the package). The run.sh script takes care of these dependencies.
Let me know how things go