Xcode – Java

Oct 29, 2009 at 1:17pm

Xcode – Java

Hello,

Is there any step by step tutorial about setting up Xcode for Java external development?

Quickie is good but the font size is too small (how can I change this by the way?)

Thanks
D

#46200
Oct 29, 2009 at 4:59pm

I got an old project developed by a friend and tried to build but I got the following warning

Jam is deprecated; targets that use Jam should be upgraded to native targets. For more information on doing this, consult the Xcode documentation.

Any ideas?

#166387
Nov 4, 2009 at 6:23am

I don’t think using Xcode for java projects is the best option at all. Maybe you can tryout eclipse or the javac on the terminal.

#166388
Nov 9, 2009 at 7:29pm

Thank you.

When I try to compile from the terminal I get many errors. I think for some reason the compiler cannot locate the com.cycling74.max

Any ideas?

#166389
Nov 9, 2009 at 10:14pm

Well I found a solution. Just in case that someone needs this information all you have to do is to include a -classpath instruction in the javac command defining the place where the compiler can pick up the required JAR files.

#166390
Nov 12, 2009 at 8:30pm

Aren’t these two different issues …. ?

With Max5 the location of the max.jar was changed, so using the old helloworld example does not longer work. One has to relocate the max.jar … no problem.

In Snow Leopard however, an error occurs because jam is deprecated (in Leopard this is only a warning), which will not allow compilation …. what is up with that?

EDIT: found an updated example project for XCode 3.1, let’s see if it works (though I am using 3.1x on Leopard and there it compiles at least)

Thanks
best

#166391
Nov 20, 2009 at 6:47pm

You can use X-code / Eclipse (or NetBeans – who has experience of that and how does it compare?)

Buut to complie from Terminal use:

javac -classpath “/Applications/MaxMSP 4.6/Cycling ’74/Java/Lib/max.jar” mfc_control4.java

so I have done cd to chande directory to where mfc_control.java is.

then I edit in X-code because it looks nicer.

Then switch to terminal ans compile.

Hope this helps.

Andrew

#166392
Nov 20, 2009 at 8:11pm

It seems that setting up Eclipse is quite easy

Follow this link

http://compusition.com/web/articles/maxmsp-eclipse

I prefer XCode and I usually follow the method for compiling decribed above

terminal javac -classpath etc etc etc etc

Dimitris

#166393
Nov 20, 2009 at 8:11pm

It seems that setting up Eclipse is quite easy

Follow this link

http://compusition.com/web/articles/maxmsp-eclipse

I prefer XCode and I usually follow the method for compiling decribed above

terminal javac -classpath etc etc etc etc

Dimitris

#166401
Nov 20, 2009 at 10:23pm

Yes, but what is the problem with XCode under snow leopard. How to get around the Jam deprecated thing?

The updated helloworld is not better than the one delivered IMHO ….

best

#166394
Nov 20, 2009 at 10:23pm

Yes, but what is the problem with XCode under snow leopard. How to get around the Jam deprecated thing?

The updated helloworld is not better than the one delivered IMHO ….

best

#166404

You must be logged in to reply to this topic.