here is my .bashrc:
JRUBY_HOME=/home/oren/.rvm/rubies/jruby-1.5.3/bin/jruby
PATH=$PATH:$JRUBY_HOME/bin
ANDROID_HOME=/home/oren/misc/apps/android-sdk-linux_x86
PATH=$PATH:$ANDROID_HOME/tools
JAVA_HOME=/usr/lib/jvm/java-6-sun
PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:/home/oren/bin:/usr/bin
and here is my path:
home/oren/.rvm/gems/jruby-1.5.3@test/bin:/home/oren/.rvm/gems/
jruby-1.5.3@global/bin:/home/oren/.rvm/rubies/jruby-1.5.3/bin:/home/
oren/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
bin:/usr/games:/home/oren/misc/apps/appengine-java-sdk-1.3.8/bin:/home/
oren/misc/apps/android-sdk-linux_x86/tools:/usr/lib/jvm/java-6-sun/
bin:/home/oren/bin
now i get this error:
compile:
/home/oren/misc/apps/android-sdk-linux_x86/tools/ant/ant_rules_r3.xml:
336: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
Compiling 1 source file to /home/oren/misc/projects/test/myapp/bin/
classes
rake aborted!
org.apache.tools.ant.BuildException: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-sun-1.6.0.22/jre"