source: trunk/dports/java/eclipse-ecj32/files/ecj.in @ 35799

Last change on this file since 35799 was 35799, checked in by jmr@…, 13 years ago

eclipse-ecj32: allow choice of java runtime. From maintainer in #14934.

File size: 317 bytes
Line 
1#!/bin/sh
2# add the compiler to the classpath and then use the default java
3# implementation.  If the user wants to change the version of java
4# they can define what 'java' resolves to.
5CLASSPATH=/opt/local/share/java/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \
6java org.eclipse.jdt.internal.compiler.batch.Main "$@"
Note: See TracBrowser for help on using the repository browser.