Closed Bug 734434 Opened 14 years ago Closed 14 years ago

socorro java compile jobs no longer working on jenkins

Categories

(Developer Services :: General, task)

task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: fox2mike)

Details

This seems to have started today: From https://ci.mozilla.org/job/socorro-master/462/console -- /var/lib/jenkins/jobs/socorro-master/workspace/analysis/build.xml:29: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre" --- Also is it possible to get the Oracle JDK installed, even if it's not the default? We're compiling a Hadoop map/reduce job and they have problems with OpenJDK: http://wiki.apache.org/hadoop/HadoopJavaVersions
Assignee: server-ops → rbryce
Component: Server Operations → Server Operations: Developer Services
QA Contact: phong → shyam
This is interesting because of Bug 718069. I switched over the Java package because of their issues...and now you're having issues :) So bug 718069#c4 has the various Java installs and will show that there's a Sun install at : /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java Feel free to use that...with the full path. If you need anymore help, let me know.
Assignee: rbryce → shyam
(In reply to Shyam Mani [:fox2mike] from comment #1) > This is interesting because of Bug 718069. I switched over the Java package > because of their issues...and now you're having issues :) > > So bug 718069#c4 has the various Java installs and will show that there's a > Sun install at : /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java > > Feel free to use that...with the full path. If you need anymore help, let me > know. Thanks! I do need one more thing - that appears to just be the JRE (runtime w/o the compiler etc), is the JDK installed too? If you can let me know the path to that I can override in our jobs.
rbryce set me straight - after setting the path to the JDK, works fine: export JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun-1.6.0.22.x86_64 Thanks!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.