Lucene contrib build failing on jdk 1.4

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Lucene contrib build failing on jdk 1.4

Adriano Crestani
Hi,

I checked out Lucene java trunk and ran "build-contrib". When I run using Sun JDK 1.6.0_07 it builds successfully, but using Sun JDK 1.4.2_19 I get the error below. Am I doing something wrong?

Thanks in advance,
Adriano Crestani Campos

...
build-artifacts-and-tests:

bdb:

BUILD FAILED
/home/adcampos/lucene/trunk2/build.xml:626: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/build.xml:616: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/build.xml:29: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/bdb/build.xml:14: java.lang.UnsupportedClassVersionError: com/sleepycat/db/internal/Db (Unsupported major.minor version 49.0)

Total time: 17 seconds

Reply | Threaded
Open this post in threaded view
|

Re: Lucene contrib build failing on jdk 1.4

Mark Miller-3
Hey Adriano,

Only core is fully 1.4. To build all of contrib you must use at least java 1.5. If you want to build a contrib that is supposed to 1.4 with 1.4, use the individual build file for that contrib.

--
- Mark

http://www.lucidimagination.com


On Mon, Jul 13, 2009 at 7:44 PM, Adriano Crestani <[hidden email]> wrote:
Hi,

I checked out Lucene java trunk and ran "build-contrib". When I run using Sun JDK 1.6.0_07 it builds successfully, but using Sun JDK 1.4.2_19 I get the error below. Am I doing something wrong?

Thanks in advance,
Adriano Crestani Campos

...
build-artifacts-and-tests:

bdb:

BUILD FAILED
/home/adcampos/lucene/trunk2/build.xml:626: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/build.xml:616: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/build.xml:29: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/bdb/build.xml:14: java.lang.UnsupportedClassVersionError: com/sleepycat/db/internal/Db (Unsupported major.minor version 49.0)

Total time: 17 seconds



Reply | Threaded
Open this post in threaded view
|

Re: Lucene contrib build failing on jdk 1.4

Adriano Crestani-2
Hi Mark,

Thanks for the explanation, it makes sense now : )

Adriano Crestani Campos

On Mon, Jul 13, 2009 at 5:41 PM, Mark Miller <[hidden email]> wrote:
Hey Adriano,

Only core is fully 1.4. To build all of contrib you must use at least java 1.5. If you want to build a contrib that is supposed to 1.4 with 1.4, use the individual build file for that contrib.

--
- Mark

http://www.lucidimagination.com



On Mon, Jul 13, 2009 at 7:44 PM, Adriano Crestani <[hidden email]> wrote:
Hi,

I checked out Lucene java trunk and ran "build-contrib". When I run using Sun JDK 1.6.0_07 it builds successfully, but using Sun JDK 1.4.2_19 I get the error below. Am I doing something wrong?

Thanks in advance,
Adriano Crestani Campos

...
build-artifacts-and-tests:

bdb:

BUILD FAILED
/home/adcampos/lucene/trunk2/build.xml:626: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/build.xml:616: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/build.xml:29: The following error occurred while executing this line:
/home/adcampos/lucene/trunk2/contrib/db/bdb/build.xml:14: java.lang.UnsupportedClassVersionError: com/sleepycat/db/internal/Db (Unsupported major.minor version 49.0)

Total time: 17 seconds