Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find or load main class main.Main #10

Closed
ssl opened this issue Oct 21, 2018 · 6 comments
Closed

Error: Could not find or load main class main.Main #10

ssl opened this issue Oct 21, 2018 · 6 comments

Comments

@ssl
Copy link

ssl commented Oct 21, 2018

Error:

iMac:g-earth elyesa$ sudo -E java -jar G-Earth.jar
Error: Could not find or load main class main.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

on: macOS Sierra 10.12.6

@sirjonasxx
Copy link
Owner

are you using java 8?

@ssl
Copy link
Author

ssl commented Oct 21, 2018

iMac:g-earth elyesa$ java -version
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)

@XePeleato
Copy link
Collaborator

JavaFX isn't bundled with Java 11 so I'd recommend installing JDK 1.8

@sirjonasxx
Copy link
Owner

ps; current releases do not support macOS yet, but you should be able to launch it

@ssl
Copy link
Author

ssl commented Oct 21, 2018

JavaFX isn't bundled with Java 11 so I'd recommend installing JDK 1.8

Thanks, that fixed it.

ps; current releases do not support macOS yet, but you should be able to launch it

Ah, sucks. So can't packetlog on mac at all?

@XePeleato
Copy link
Collaborator

@ssl I was able to (when I updated to Mojave it stopped working), compiling the macDev branch, however macOs implements some new (or not so new) kind of security that doesn't allow G-Mem to get the task port of the flash player process, (same error as in here https://stackoverflow.com/questions/13913818/how-to-get-a-codesigned-gdb-on-osx ) so if you build it from source and fix that signing issue it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants