Closed
Bug 315917
Opened 20 years ago
Closed 20 years ago
Configure the three XULRunner tinderboxes with JDK
Categories
(Webtools Graveyard :: Tinderbox, defect)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: benjamin, Assigned: preed)
Details
(Keywords: fixed1.8.0.1, fixed1.8.1)
Attachments
(1 file)
3.01 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Two XULRunner tinderboxen need the JDK installed/configured:
Linux argo
WINNT solaria
After the JDK is installed, it may also be necessary to set JDK_HOME in the global environment.
Mac columbia is probably already fine (it seems that JDK comes with MacOS X).
Comment 1•20 years ago
|
||
(In reply to comment #0)
> After the JDK is installed, it may also be necessary to set JDK_HOME in the
> global environment.
The correct environment variable name is JAVA_HOME.
Assignee | ||
Comment 2•20 years ago
|
||
Argo has the 1.5.0.06 JDK installed:
[cltbld@argo cltbld]$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
[cltbld@argo cltbld]$ which javac
/usr/java/jdk1.5.0_06/bin/javac
[cltbld@argo cltbld]$ export | grep JAVA
declare -x JAVA_HOME="/usr/java/jdk1.5.0_06"
md5sum for the installation package used is:
3188bedc75d4500f599558427b95156c jdk-1_5_0_06-linux-i586-rpm.bin
I'm working on Windows, but I might have to take the Solaria tinderboxen down to install it; still investigating.
Coop: if you don't mind, I'm gonna reassign this to me, since I'm working on it.
Assignee: ccooper → preed
Assignee | ||
Comment 3•20 years ago
|
||
Solaria now has the 1.5.0.06 JDK installed too; interestingly enough, there isn't a JAVA_HOME variable defined in the Windows environment, nor in the Cygwin environment, but running "java -version" in the cltbld cygwin window gives the 1.5.0.06 installation.
Installed package was:
d684c84a746da6139170437d4dc638cc jdk-1_5_0_06-windows-i586-p.exe
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 4•20 years ago
|
||
(In reply to comment #3)
> interestingly enough, there isn't a JAVA_HOME variable defined
For the purposes of Javaconnect, you can either define the Java location using the JAVA_HOME environment variable, or using the "--with-java-include-path" and "--with-java-bin-path" configure switches.
Reporter | ||
Comment 5•20 years ago
|
||
Comment #4 is correct, we need either JAVA_HOME or mozconfig flags on argo/solaria.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 6•20 years ago
|
||
FWIW, I'd prefer the environment variable, so that when we land this on the branch we don't have to configure the mozconfig of those builds separately.
Assignee | ||
Comment 7•20 years ago
|
||
Alright:
Argo had the environment stuff all along (it's in /etc/profile.d/java.*; I just whipped those little env scripts up), but cltbld had to logged out/in to pick up the change. Looks like argo's tinderbox should be happy.
As for Solaria, I added JAVA_HOME to the global environment via the System Control Panel; an export in cygwin shows the environment variable set, although it's in "C:\\Program Files\\etc." style, not "/cygdrive/c/Program Files/etc." style.
Anyone know if this is going to confuse cygwin?
Reporter | ||
Comment 8•20 years ago
|
||
Nope, bug 272662 fixed the win-versus-cygwin paths issue.
Assignee | ||
Comment 9•20 years ago
|
||
Both argo and solaria XULrunner tinderboxen are green; resolving fixed.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Comment 10•20 years ago
|
||
Trouble! The tinderboxes have Java SDK 1.5 installed. It turns out that compiling with JDK 1.5 does not allow the user to run using JVM 1.4.x. Many people are still using JVM 1.4.2, so we should be compiling with JDK 1.4.2. Preed, can you downgrade the JDK version please?
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•20 years ago
|
||
I just thought of this: would adding the "-source=1.4" option to the javac calls be a viable short- (or even long-)term workaround for this?
Comment 12•20 years ago
|
||
According to the docs, it looks like what we want. This patch sets that flags for javac. Not sure if this is the best place to put the flag.
Attachment #206203 -
Flags: review?(benjamin)
Reporter | ||
Comment 13•20 years ago
|
||
Comment on attachment 206203 [details] [diff] [review]
source flag patch
Use += for JAVAC_FLAGS
Attachment #206203 -
Flags: review?(benjamin) → review+
Comment 14•20 years ago
|
||
Patch checked in. I'll test nightlies when they are available.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Comment 15•20 years ago
|
||
Verified that the builds now work with JVM 1.4.2.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 16•20 years ago
|
||
Fixed on MOZILLA_1_8_BRANCH and MOZILLA_1_8_0_BRANCH.
Keywords: fixed1.8.0.1,
fixed1.8.1
Component: Tinderbox Configuration → Tinderbox
Product: mozilla.org → Webtools
Updated•11 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•