• 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
Selecting a Specific JavaVM for my target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting a Specific JavaVM for my target


  • Subject: Selecting a Specific JavaVM for my target
  • From: Paul Archibald <email@hidden>
  • Date: Mon, 24 Jul 2006 16:08:44 -0700

Comrades,

I am not sure if this is a Java list or an Xcode list question, so I will try it here first.

The Java app I am working on has some problems with copying images to the clipboard (distorted image, someone called it the "Outer Limits" problem), which I have heard is a known bug fixed in Java 5.

Is it a good idea to switch to Java 1.5? Does anyone have any idea how many people are using 1.5 instead of 1.4? Will our users freak out?

On the practical side, I have not been able to get this working with 1.5, probably because of our use of the JavaVM.framework. (We need that because we are using JNI.) I have tried setting the Java compiler switches for 1.5, and the app builds, but throws a runtime exception:

"java.lang.UnsatisfiedLinkError: createProxyModelClient"

which is our first call into our JNI.

I suspect that I need to change my project settings for this. I have tried the Target->Java Compiler Settings->Target VM at 1.4 and 1.5, and Target->Pure Java Specific Target VM at 1.4* and 1.4+ (what do the * and + mean?). I have tried all the permutations of these settings. some don't build, one builds but throw the runtime exception above, one builds and runs, but loads Java 1.4 at startup (we check and report the Java version). The one hting I have not been able to figure out is changing the JavaVM.framework version in the project. How do I do that? Will it break anything?

(I do have Java 1.5 on my machine, and am using Xcode 2.3 OSX 10.4.7)
_______________________________________________
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: Enabling language-specific warnings in multi-language projects
  • Next by Date: Re: Enabling language-specific warnings in multi-language projects
  • Previous by thread: Re: Progress updates in all windows?
  • Next by thread: Re: Selecting a Specific JavaVM for my target
  • Index(es):
    • Date
    • Thread