Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openjdk not supported? #36

Closed
artagnon opened this issue Feb 6, 2013 · 1 comment
Closed

Openjdk not supported? #36

artagnon opened this issue Feb 6, 2013 · 1 comment

Comments

@artagnon
Copy link
Contributor

artagnon commented Feb 6, 2013

pindah doesn't pick up my openjdk. Does it require Sun's Java implementation?

-set-mode-check:

-set-debug-files:

-check-env:
Android SDK Tools Revision 21.0.1
Installed at /home/artagnon/.android/sdk

-setup:
Project Name: chwall2
Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-build-setup:
Resolving Build Target for chwall2...
Project Target:   Android 4.2
API level:        17
WARNING: No minSdkVersion value set. Application will install on all Android versions.
----------
Creating output directories if needed...
Created dir: /home/artagnon/src/chwall2/bin/res
Created dir: /home/artagnon/src/chwall2/gen
Created dir: /home/artagnon/src/chwall2/bin/classes
Created dir: /home/artagnon/src/chwall2/bin/dexedLibs
----------
Resolving Dependencies for chwall2...
Library dependencies:
No Libraries
----------
Building Libraries with 'debug'...
No sub-builds to iterate on

-pre-build:

-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
Handling aidl files...
No AIDL files to compile.
----------
Handling RenderScript files...
No RenderScript files to compile.
----------
Handling Resources...
Generating resource IDs...
----------
Handling BuildConfig class...
Generating BuildConfig class.

-pre-compile:

javac:
/home/artagnon/.rbenv/versions/jruby-1.7.2/lib/ruby/gems/shared/gems/rake-10.0.2/lib/rake/
task.rb:176 warning: singleton on non-persistent Java type Java::OrgApacheToolsAnt::BuildE
xception (http://wiki.jruby.org/Persistence)
rake aborted!
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-7-openjdk-amd64/jre"
@artagnon
Copy link
Contributor Author

artagnon commented Feb 6, 2013

Never mind. Setting JAVA_HOME to /usr/lib/jvm/java-7-openjdk-amd64 seems to fix it.

@artagnon artagnon closed this as completed Feb 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant