akipta / freedomotic

Automatically exported from code.google.com/p/freedomotic
Other
0 stars 0 forks source link

Log popup error with JRE7 on Ubuntu 11.10 #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Problem with Linux Ubuntu 11.10 using Unity based on Gnome 3
When I start Freedomotic I receive this error
Exception in thread "main" java.lang.UnsupportedOperationException: Desktop API 
is not supported on the current platform
    at java.awt.Desktop.getDesktop(Desktop.java:144)
    at it.freedom.app.Freedom.<init>(Freedom.java:128)
    at it.freedom.app.Freedom.main(Freedom.java:387)
The problem is with Oracle Java v. 1.7.0_02 (in bundle with Netbeans 7.1)  and 
OpendJdk 1.6.0.23.

As reported by Enrico the error is related to java desktop api 
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/deskto 
p_api/
they are used to pop up the browser with the logger, in java 6 this feature in 
embedded, java 7 i don't know. Java 6 is the current supported/tested version 
of JVM in this project.

Forum topic: http://freedomotic.com/forum/10/767 

Original issue reported on code.google.com by virtualc...@gmail.com on 30 May 2012 at 8:16

GoogleCodeExporter commented 9 years ago
may you find an alternative way which is working with java 7 and preceding 
versions?

Original comment by enrico.n...@gmail.com on 30 May 2012 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by enrico.n...@gmail.com on 30 May 2012 at 10:02

GoogleCodeExporter commented 9 years ago
a quick fix for this was implemented: logger never popup

Original comment by enrico.n...@gmail.com on 28 Oct 2012 at 6:54