Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2015 09:49:51 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        freebsd-ports@freebsd.org
Cc:        matthew@FreeBSD.org
Subject:   Re: Re: databases/mysql-connector-java: Looks broken to me
Message-ID:  <55228EFF.6090904@aldan.algebra.com>
In-Reply-To: <55226070.1060909@FreeBSD.org>
References:  <20150401173142.1b36d256@rsbsd.rsb> <551C2260.5050904@freebsd.org> <55226070.1060909@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/06/15 06:31, Matthew Seaman wrote:
>> lucid-nonsense:/tmp/mysql-connector-java-5.1.35:% ant compile
>> > Buildfile: /tmp/mysql-connector-java-5.1.35/build.xml
>> > 
>> > -jdk5-check:
>> >      [exec] Execute failed: java.io.IOException: Cannot run program "/usr/lib/jvm/jdk1.5/bin/java": error=2, No such file or directory
>> > 
>> > BUILD FAILED
>> > /tmp/mysql-connector-java-5.1.35/build.xml:240: Java 5 is required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk5'. Default: '/usr/lib/jvm/jdk1.5'). Java 6 (for JDBC4+ implementation) is also required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk6'. Default: '/usr/lib/jvm/jdk1.6'.
>> > 
>> > Total time: 1 second
> Given there is no longer any support in the ports for java-1.5 I'm
> afraid we're stuck with using the pre-compiled .jar file.
Can't the build.xml be patched to augment and/or drop the requirement?
We might then see the actual problem in the Java source -- if any -- and
patch that...

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55228EFF.6090904>