Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Could not find the main class: org/aido/atp/Application. Program will exit. #1

Closed
jasonpitts opened this issue Mar 18, 2013 · 2 comments
Assignees

Comments

@jasonpitts
Copy link

I am not a Java guy so please forgive me if I am missing something simple, but when trying to run -jar aidoatp.jar --clear-config=true

I get:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/aido/atp/Application : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org/aido/atp/Application. Program will exit.

I also get the same error when I clone the repo and try to build it using netbeans

@jasonpitts
Copy link
Author

Well, I knew it would be something simple. It turns out I was using Java 6 and I needed to install Java 7.

@aido
Copy link
Owner

aido commented Mar 20, 2013

Glad you found the solution. I'll close this issue.

As an aside, aidoATP hasn't been updated in a while. There have been a few changes to some of the exchange APIs recently. As soon as these changes are implemented into the XChange library I'll build a more recent version of aidoATP.

@aido aido closed this as completed Mar 20, 2013
@ghost ghost assigned aido Apr 28, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants