• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java 1.5 (J2SE) not working with XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java 1.5 (J2SE) not working with XCode


  • Subject: Java 1.5 (J2SE) not working with XCode
  • From: Oscar Appelgren <email@hidden>
  • Date: Mon, 22 Aug 2005 16:07:40 +0200

Hi,

I have downloaded and installed J2SE from Apple(Sun). I need it for things I try to do with creating Java Objects from XML code.

When I try to run my code in XCode I get an exception from SAX which I figured out was due to XCode still running Java 1.4.2. When i manually re-link CurrentJDK and Current in the Java Version folder I get a message 'Missing .../Resources/MacOS/JavaApplicationStub'. Something that does exist in the 1.4.2 Java folder but not in the 1.5.0 folder. I have searched the web for tips but have found none.

I have found a document regerding XCode tools which has a section 'Using XCode with J2SE 5.0'. It tells me to modify the settings for the Java templates in XCode (which are set up for 1.4.2). It says:

'Double click the target to edit and provide /System/Library/ Frameworks/JavaVM.framework/Versions/1.5/Commands/javac as the value for the JAVA_COMPILER build settings. Change the Target VM Version and Source Version in the Java Compiler Setting to use 1.5.'

It also tells me how to change the settings for executing with a new path in the General tab of the Executable info. This is not editable however (in my case).

I have tried to find a way to do all this but I am afraid I just can't get it :-(

My hope is now that some one has been through this as well and can guide me as how to get XCode to work with the 1.5 version of Java

I am using a PowerBook G4 1.67 with 10.4.2 and XCode 2.1.

Sincerely,

Oscar Appelgren
UmeƄ
Sweden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Header/library version mismatches
  • Next by Date: Re: frameworks, dynamic_cast and gcc 4.0
  • Previous by thread: Re: Header/library version mismatches
  • Next by thread: OT: I'm a Spammer!
  • Index(es):
    • Date
    • Thread