Joseph Kelly wrote:
>So far I have not found any documentation which indicates how to do so
>using a clean api call. Some options I've thought of are running fork/exec
>"java -version", looking for directories that match /System/
>Library/Frameworks/JavaVM.framework/Versions/1.4*, etc -- both these
>solutions are fine, but I'd rather use a nice clean C or Obj-C api.
I think looking for a directory in the JavaVM.framework is pretty reliable,
and pretty easy to do, too. Way easier than fork/exec'ing "java -version".
The only other approaches I can think of involve the JNI invocation API,
which is even more complex.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden