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" on Ubuntu #315

Closed
Wolfsblvt opened this issue Aug 22, 2016 · 1 comment
Closed

"Error: Could not find or load main class" on Ubuntu #315

Wolfsblvt opened this issue Aug 22, 2016 · 1 comment

Comments

@Wolfsblvt
Copy link
Owner

I am using Ubuntu 16.04 and the latest alpha. Everything was OK with the previous version.

Once I try to launch it using .sh file I get the following error:
start: invalid option: -j Try `start --help' for more information.

If I try to launch it using the command java -jar BlossomsPogoManager.jar I get the following:
Error: Could not find or load main class me.corriekay.pokegoutil.BlossomsPoGoManager

It looks like the issue is caused by incorrect package. If you unzip the package and go to me/corriekay/pokegoutil you will see two files with similar names - BlossomsPoGoManager.class and something like BlossomsPoGoManager$1.class.

There was only one similar file in the previous version and it was smaller.

Good night!

Mentioned by user Garrett on Discord.

@Wolfsblvt Wolfsblvt added the bug label Aug 22, 2016
@Wolfsblvt Wolfsblvt added this to the v0.1.2-Beta milestone Aug 22, 2016
@Wolfsblvt
Copy link
Owner Author

Using Oracle JDK instead of Open JDK should fix this.
See #306.

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

No branches or pull requests

1 participant