Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aquethys

macrumors newbie
Original poster
Aug 28, 2013
1
0
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:
Code:
        public class HelloWorld{
            public static void main(String[] args){
                System.out.println("Hello World!");
            }
        }
The error I'm getting is below
Code:
        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!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.