slagyr / limelight

GUI library for Ruby/Clojure/Java
http://limelight.8thlight.com
MIT License
108 stars 16 forks source link

Limelight doesn't recognize any Windows OS after XP #8

Open chuckremes opened 12 years ago

chuckremes commented 12 years ago

Version 0.6.14

In Boot.java there is a method #configureOS. It does not properly recognize Windows 7 so during project startup it always throws an exception and uses the limelight.os.UnsupportedOS class.

See stackoverflow for someone else who ran into a similar problem.

http://stackoverflow.com/questions/2357758/what-does-system-getpropertyos-name-return-in-latest-windows-oss

I don't even understand why it fails. When I run jruby's irb and run "System.getProperty('os.name')" from there it clearly returns "Windows 7" which should satisfy the test in Boot.java, but it doesn't match. Don't know why...

It's not a show-stopper but it is noisy.

chuckremes commented 12 years ago

Here is a backtrace from my "test_text_box" program as captured on a Win7 x64 box (same thing happens on a 32-bit install).

https://gist.github.com/9325191444b5c0fb8dd4