Thanks! I don't know that I have ever see the Java Preferences app
before. At any rate, now I have:
budapest:asf_solr_src epugh$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
but still getting the same:
An exception has occurred in the compiler (1.5.0_16). Please file a
bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport
) after checking the Bug Parade for duplicates. Include your program
and the following diagnostic in your report. Thank you.
[javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file
org/simpleframework/xml/Root.class not found
I ran ant -diagnostics and saw it was still using 1.5. Turns out that
JAVA_HOME was pointed to /Library/Java/Home and I needed it to point
to /usr/bin/java. So I did export JAVA_HOME=/usr and it seems to
work. The cluster code all compiled.
Hopefully this helps out anyone else on OSX....
Eric
On May 20, 2009, at 3:11 PM, Matt Weber wrote:
Java 1.6 is only available for Leopard. It should be installed by
default, use the java preferences app to make it your default.
Thanks,
Matt Weber
eSr Technologies
http://www.esr-technologies.com
On May 20, 2009, at 12:04 PM, Eric Pugh wrote:
Okay... I've commented it out by tweaking the contrib-crawl
macrodef and adding an ignores in common-build.xml:
<fileset dir="."
includes="contrib/*/build.xml"
excludes="**/clustering/build.xml"
/>
Does anyone have a link to Java 1.6 for OSX? I see references to
some sort of Update 2 for Java, but haven't found a download link.
Eric
On May 20, 2009, at 2:07 PM, Grant Ingersoll wrote:
I confirm it's there. For now, the work around is to use 1.6.
Can anyone reproduce on Windows or Linux?
-Grant
On May 20, 2009, at 1:43 PM, Grant Ingersoll wrote:
Hmm, checking. I know it spit out warnings on that stuff, but
didn't think it would cause an error.
On May 20, 2009, at 12:21 PM, Eric Pugh wrote:
Hi all,
Anyone else getting a compile error from the new contrib/
clustering stuff? On OSX with Java 1.5:
budapest:asf_solr_src epugh$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-
b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode,
sharing)
I am getting:
compile:
[javac] Compiling 7 source files to /trunk/asf_solr_src/contrib/
clustering/build/classes
[javac] An exception has occurred in the compiler (1.5.0_16).
Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport
) after checking the Bug Parade for duplicates. Include your
program and the following diagnostic in your report. Thank you.
[javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file
org/simpleframework/xml/Root.class not found
Eric
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC |
434.466.1467 | http://www.opensourceconnections.com
Free/Busy: http://tinyurl.com/eric-cal
--------------------------
Grant Ingersoll
http://www.lucidimagination.com/
Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/
Droids) using Solr/Lucene:
http://www.lucidimagination.com/search
--------------------------
Grant Ingersoll
http://www.lucidimagination.com/
Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
using Solr/Lucene:
http://www.lucidimagination.com/search
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467
| http://www.opensourceconnections.com
Free/Busy: http://tinyurl.com/eric-cal
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
http://www.opensourceconnections.com
Free/Busy: http://tinyurl.com/eric-cal