XCode 5 DP and Java Problem

Discussion in 'Mac Programming' started by aquethys, Aug 28, 2013.

  1. aquethys, Aug 28, 2013
    Last edited: Aug 28, 2013

    aquethys macrumors newbie

    Aug 28, 2013
    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!

Share This Page