PDA

View Full Version : XCode 5 DP and Java Problem




aquethys
Aug 28, 2013, 09:59 PM
Hi everyone!

I recently installed the developer preview of OS X 10.9, and have the XCode 5 DP installed.

After following a guide to setup Java, it's almost there..I think?
My scheme can be found http://grab.by/pMYO and arguments http://grab.by/pMYS

I'm trying to compile a HelloWorld below:

public class HelloWorld{
public static void main(String[] args){
System.out.println("Hello World!");
}
}

The error I'm getting is below

Exception in thread "main" java.lang.NoClassDefFoundError: APCS
Caused by: java.lang.ClassNotFoundException: APCS
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


If anyone could offer help, I would greatly appreciate it!