Hello, I'm completely new to java, Xcode and macs in general, but i need some help... I've created a new java project on my mac and it just doesn't seem to compile... I just shifted from BlueJ to Xcode so everything seems quite complicated and all... :-) All i have in my project is the default class and that manifest file...
public class Zahan_s_Java_Home {
public static void main (String args[]) { // insert code here... System.out.println("Hello World!"); } }
and it still doesn't compile!!!
it says: command /Developer/Private/jam failed with exit code 1
and the long version: cd "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home" setenv ASCII_OUTPUT_ANNOTATION YES setenv ENABLE_APPLE_JAM_EXTENSIONS YES setenv ENABLE_APPLE_JAM_OUTPUT_ANNOTATION YES setenv GROUP zahanm setenv NATIVE_ARCH i386 setenv USER zahanm /Developer/Private/jam -d1 -j2 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=/Users/zahanm/Documents/Zahan/Java/Zahan\'s\ Java\ Home/build/Zahan\'s\ Java\ Home.build/Debug/Zahan_s_Java_Home.build/Zahan_s_Java_Home.jam build ACTION="" _DEFAULT_GCC_VERSION=4.0 GCC_VERSION_IDENTIFIER=4_0 CONFIGURATION=Debug BUILD_STYLE=Debug CPP_HEADERMAP_FILE=/Users/zahanm/Documents/Zahan/Java/Zahan\'s\ Java\ Home/build/Zahan\'s\ Java\ Home.build/Debug/Zahan_s_Java_Home.build/Zahan_s_Java_Home.hmap SRCROOT=/Users/zahanm/Documents/Zahan/Java/Zahan\'s\ Java\ Home OBJROOT=/Users/zahanm/Documents/Zahan/Java/Zahan\'s\ Java\ Home/build SYMROOT=/Users/zahanm/Documents/Zahan/Java/Zahan\'s\ Java\ Home/build DSTROOT=/tmp/Zahan\'s\ Java\ Home.dst
AppendToJavaFileList "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaClasses/Zahan_s_Java_Home.class" Zahan_s_Java_Home.java _grep_result=`/usr/bin/grep -e \""Zahan_s_Java_Home.java"\" "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaFileList"` if [ "x$_grep_result" = "x" ] then echo \""Zahan_s_Java_Home.java"\" >> "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaFileList" fi
SymLink "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Debug/Zahan_s_Java_Home" "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Debug/Zahan_s_Java_Home.jar" /bin/ln -sf "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Debug/Zahan_s_Java_Home.jar" "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Debug/Zahan_s_Java_Home"
JavaCompile.default "<CompileJava>Zahan_s_Java_Home" "@/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaFileList" frameworkjars="" for i in `echo ` ; do if [ -f "$i" ] ; then frameworkjars="$frameworkjars":"$i" ; fi ; done classpath="/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaClasses$frameworkjars:"`/usr/bin/javaconfig DefaultClasspath` /usr/bin/javac -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 -target 1.3 -source 1.3 -g -encoding MACINTOSH -sourcepath "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/." -classpath "$classpath" -d "/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaClasses" '@/Users/zahanm/Documents/Zahan/Java/Zahan's Java Home/build/Zahan's Java Home.build/Debug/Zahan_s_Java_Home.build/JavaFileList' javac: file not found: /Users/zahanm/Documents/Zahan/Java/Zahans (No such file or directory)
This is really quite unfair that a brand new project that i haven't even tampered with doesn't work! Any assistance would be really, really appreciated and my heartfelt thanks to anyone who can help me... ZM |