Date: Wed, 23 Apr 2008 16:20:03 GMT From: Yoshihiko Sarumaru <mistral@imasy.or.jp> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/123000: devel/jude-community need jdk1.4 which can't compil with GCC4.2 Message-ID: <200804231620.m3NGK3iH086730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/123000; it has been noted by GNATS. From: Yoshihiko Sarumaru <mistral@imasy.or.jp> To: bug-followup@FreeBSD.org, cloud@madpowah.org Cc: Subject: Re: ports/123000: devel/jude-community need jdk1.4 which can't compil with GCC4.2 Date: Thu, 24 Apr 2008 01:12:44 +0900 Hi, I understand jdk14 is not supported on 7 branch or later by your mail. But I beleive you can still install jude-community with following command in such environment and it should found you have already installed jdk1.6.0 and use that. # make WITHOUT_EXPORT_HTML=true If it doesn't work for you, could you send me the output of # make -C /usr/ports/devel/jude-community WITHOUT_EXPORT_HTML=true java-debug Anyway, I wonder WITHOUT_EXPORT_HTML option should be default if it can not run under 7 branch... Will it solve your problem? > .if !defined(WITHOUT_EXPORT_HTML) > - JAVA_VERSION= 1.4 > + JAVA_VERSION= 1.6 It cannot be changed because Exporting HTML function only works with JDK1.4. Please take a look at the comment line in Makefile. > Next it need to modify /usr/local/bin/jude : > - /usr/local/jdk1.4.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3 > + /usr/local/jdk1.6.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3 It should be automatically replaced from %%JAVA_HOME%% to the selected version of JDK on install. See the last line of files/patch-jude. Thanks,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804231620.m3NGK3iH086730>