JRE crashes when running java application within an Android project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Within Eclipse, JRE will crash if I try run any java application class created within an Android project.
To recreate the problem:
- Within Eclipse (with Android SDK and ADT plugins installed), create a new Android Application project (give it a name, but otherwise keep all the defaults; run it as Android Application to confirm it works);
- Within the project create a new Java class and make it runnable (just give it a name and check create public static void main(String[] args) stub);
- Run (the project or the file) as Java Application.
Note it works fine if created in a Java Application project.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre 6b24-1.
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Tue Jul 17 09:27:02 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.