Ubuntu working with Google Android
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Trying to develop some Android apps using Ubuntu and come cross google bug # 917579
Can something between ubuntu and google be sorted out so I don't have to do this workaround.
On Ubuntu 7.10 (Gusty), the Eclipse package installed by the apt-get install eclipse command uses java-gcj by default. This configuration is not compatible with the Android Eclipse plugin (ADT) and will result in "Class not found" errors whenever you access an ADT feature.
The resolution for this issue is to install a Sun JDK
sudo update-
and then configure Eclipse to use it by exporting the following environment variable:
export JAVA_HOME=
or by adding following to your .eclipse/eclipserc file:
JAVA_HOME=
Changed in java-gcj-compat: | |
importance: | Undecided → Wishlist |
I would rather use ubuntu version of Java than Sun's Java