Arthur, the HeadlessException might relate to a situation where Java cannot use you X env correctly. I guess you are not using in a situation where you are (eg) SSH-ing into the machine ? If so, need to add -X or -Y to tell it to send its xwindow back to you. And, of course have a good X server running locally.
Can you start other Java GUI things ? If you have been working hard on that Java installation, quite possible there are bits of Java scattered around your system, maybe pointing in the wrong direction ? Probably important you check that other Java apps work OK before you concentrate too much on JOSM. David On Sun, 2013-10-27 at 12:27 +1100, Arthur Geeson wrote: > I have been trying to get JOSM working and it implied that I had a > version of java that was too old. I then spend several hours to get a > new version of java and now when I try to run JOSM it just falls over. > I am using Ubuntu 12.04 and get the following problems: > > arthur@arthur-Aspire-5750G:/usr/lib/jvm/java-7-openjdk-i386/bin$ java > -version > java version "1.7.0_25" > OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) > OpenJDK Server VM (build 23.7-b01, mixed mode) > > arthur@arthur-Aspire-5750G:/$ josm > Using /usr/lib/jvm/java-7-openjdk-i386/bin/java to execute josm. > java.awt.HeadlessException > at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > at java.awt.Window.<init>(Window.java:535) > at java.awt.Frame.<init>(Frame.java:420) > at javax.swing.JFrame.<init>(JFrame.java:218) > at > org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:316) > > I have tried reloading JOSM and the plugins but it seems there maybe > something wrong with java? > > Thanks - Arthur (geesona) > > _______________________________________________ > Talk-au mailing list > Talk-au@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-au _______________________________________________ Talk-au mailing list Talk-au@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-au