Skip to content

Instantly share code, notes, and snippets.

@oneman
Created August 26, 2010 07:27
Show Gist options
  • Select an option

  • Save oneman/550991 to your computer and use it in GitHub Desktop.

Select an option

Save oneman/550991 to your computer and use it in GitHub Desktop.
[oneman@blacktower::/mnt/disk3/Download3/rawdodtest1]$ jruby ../jruby-1.5.2/bin/rake --trace
(in /mnt/disk3/Download3/rawdodtest1)
Android SDK Tools Revision 6
Project Target: Android 2.2
API level: 8
WARNING: No minSdkVersion value set. Application will install on all Android versions.
Importing rules file: platforms/android-8/ant/ant_rules_r2.xml
** Invoke default (first_time)
** Invoke debug (first_time)
** Invoke generate_libs (first_time)
** Invoke generated_libs (first_time, not_needed)
** Invoke generated_libs/jruby-ruboto.jar (first_time, not_needed)
** Invoke generated_libs (not_needed)
** Execute generate_libs
cp libs/jruby-stdlib-1.5.2.jar generated_libs
** Execute debug
-compile-tested-if-test:
-dirs:
Creating output directories if needed...
-resource-src:
Generating R.java / Manifest.java from the resources...
-aidl:
Compiling aidl files into Java classes...
compile:
Compiling 7 source files to /mnt/disk3/Download3/rawdodtest1/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 "/mnt/disk3/Download3/jdk1.6.0_21/jre"
org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java:108:in `getCompiler'
org/apache/tools/ant/taskdefs/Javac.java:1062:in `compile'
org/apache/tools/ant/taskdefs/Javac.java:885:in `execute'
org/apache/tools/ant/UnknownElement.java:288:in `execute'
sun.reflect.GeneratedMethodAccessor5:-1:in `invoke'
sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
java/lang/reflect/Method.java:597:in `invoke'
org/apache/tools/ant/dispatch/DispatchUtils.java:106:in `execute'
org/apache/tools/ant/Task.java:348:in `perform'
org/apache/tools/ant/Target.java:357:in `execute'
org/apache/tools/ant/Target.java:385:in `performTasks'
org/apache/tools/ant/Project.java:1337:in `executeSortedTargets'
org/apache/tools/ant/Project.java:1306:in `executeTarget'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/1.8/monitor.rb:193:in `ant_import'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/mnt/disk3/Download3/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load'
../jruby-1.5.2/bin/rake:19
[oneman@blacktower::/mnt/disk3/Download3/rawdodtest1]$ echo $PATH
/mnt/disk3/Download3/jdk1.6.0_21/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/oneman/.gem/ruby/1.8/bin/:/mnt/disk3/Download3/android-sdk-linux_86/tools/:/mnt/disk3/Download3/jruby-1.5.2/bin/
[oneman@blacktower::/mnt/disk3/Download3/rawdodtest1]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment