From a729825c44e3ea9cbeec129487377fc0f2608c89 Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Sat, 24 Mar 2012 23:21:33 +0000 Subject: - java 1.6+ is required - bump PORTREVISION Submitted by: glewis@ (via email) Feature safe: yes --- java/eclipse-ecj/files/ecj.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/eclipse-ecj/files') diff --git a/java/eclipse-ecj/files/ecj.sh.in b/java/eclipse-ecj/files/ecj.sh.in index 825e0a840bb8..bfbba17fc3d2 100644 --- a/java/eclipse-ecj/files/ecj.sh.in +++ b/java/eclipse-ecj/files/ecj.sh.in @@ -1,3 +1,3 @@ #!/bin/sh -%%LOCALBASE%%/bin/java -classpath %%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar org.eclipse.jdt.internal.compiler.batch.Main ${@:--help} +JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}" -- cgit v1.2.3