Re: Using Java 1.3.1 when you've already installed 1.4.0
Re: Using Java 1.3.1 when you've already installed 1.4.0
- Subject: Re: Using Java 1.3.1 when you've already installed 1.4.0
- From: "Jonathan Fleming" <email@hidden>
- Date: Fri, 28 Mar 2003 04:32:58 +0000
Thanks for that Jonathan,
I once put Java 1.4.1 on my machine about 9 mths ago, within a day or two it
was gone... never to return unill it has been fully tested and generally
accepted by Apple as well as all major developers. That could be years from
now, but i don't care, that thing is just tooooooo buggy for WebObjects
liking.
Jonathan
From: Jonathan Rochkind <email@hidden>
To: email@hidden
Subject: Re: Using Java 1.3.1 when you've already installed 1.4.0
Date: Thu, 27 Mar 2003 18:25:27 -0600
This is just a guess too (I develop on Windows, but only have 1.3.1
installed, not 1.4).
Check the environmental variables for your machine (Right-click on My
Computer, properties, advanced, environmental variables: at least on Win2k,
dont' know if other Windows work the same)
Look at the WEBOBJECTS_JAVA_EXTENSIONS and WEBOBJECTS_JAVA_HOME variables.
Copy and paste the existing values, so you can fix things if they go wrong!
Change the values to point to your 1.3.1 installation, instead of 1.4.1
(if that's what they do now).
A couple confusing things:
1) These values in the environmental variables are 'legacy' paths,
that have many parts of the path replaced by ~. I don't really understand
how this works, but it's a Windows thing. I don't know if you can just put
in the whole real path, or you need to convert the path to this weird
'legacy' thing. Sorry.
2) On all of our Windows machines, there seem to be TWO DIFFERNET
1.3.1 installations, and the two WEBOBJECTS enviornmental variables point
to DIFFERENT ones. I have absolutely no idea why, or if this matters.
At this point, you probably want to reboot (or really, just log out and in
again) to be sure those changes have 'taken'. And... maybe it'll work.
If not, the next thing to do is modify your PATH environmental variable so
your 1.3.1 JDK 'bin' directory is in there, BEFORE the 1.4.1 'bin'
directory. This may have the side effect that all other Java stuff will
start using 1.3.1, and if you just type 'java' or 'javac' on any command
line you'll get the 1.3.1 But you can have different PATHs for different
logins, so maybe you could set things up so you have a certain login that
uses 1.3.1, for purposes of using WO.
I'm not an expert in this Windows admin stuff, so I could be wrong about a
lot of these things. But from debugging WO when it's gone wrong and looking
at this stuff, I suspect that the above would probably work. Me, I just
don't install 1.4.1 on my machine, I've only got 1.3.1.
--Jonathan
At 02:04 PM 3/27/2003 -1000, Art Isbell wrote:
On Thursday, March 27, 2003, at 01:22 PM, Riaz Lalehzari wrote:
I am using Windows OS, WO5.1, and Java 1.4.0. How can I make the Java
compiler, debugger, and VM used by Project Builder use 1.3.1 instead?
There is info for doing this on mac but not for Windows:
http://docs.info.apple.com/article.html?artnum=75505
I'd try doing the same things described in the article. In
Makefile.preamble, modify the JAVA_DEBUGGER and JAVA_VM variables as
described and add a JAVA_COMPILER variable. This is just a guess since
I've never developed Java WO apps under Windows.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out
http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1059
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.