![]() So I was decided to look on Steam today, I checked out some of the deals and I was really amazed at how good they are. There are some going for They had like 1600+ games on there, I then realised I was not on the Mac version of Steam so switched to that. Which has 250 games on Steam and there. ![]() I'm developing a fairly complex Java application mixing Swing and SWT. Whenever I start the application, this is the console output (and the app doesn't show up): 2012-12-19 12:45:45.359 java[3442:f07] [Java CocoaComponent compatibility mode]: Enabled 2012-12-19 12:45:45.360 java[3442:f07] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 I've followed many guides and tutorials setting: • System.setProperty('com.apple.awt.CocoaComponent.CompatibilityMode', 'false'); • -XstartOnSecondThread • --launcher-on-secondThread Now I really don't have any clue. The only way to make my app working on Mac OSX is to export the Eclipse project to a JAR executable. Well, this is annoying. Can someone explain to me how to set those properties above? Are there any magic trick? EDIT: I'm using: OSX Mountain Lion 10.8.2, Java 1.6u37 64bit, SWT 4.2 cocoa x64, Windows XP, Java 1.6u37 32bit, SWT 4.2 32bit. I've had this issue several times, as I work in a Java shop where everyone uses Eclipse, and I'm an OS X user. The fix is a little weird. You need to remove your current JRE from the 'Installed JREs' preference, and then add it again. When you do so, make sure that you select 'Standard JVM' and not 'Mac OS X JVM'. Adding JREs is a little annoying, so take note of the 'Location' path string before you do so. You'll point it to the same place, just change the 'Type' property. So, my answer is wrong. It's pertinent if you're doing Swing/AWT only, but humorously enough immediately after posting this I had to write an SWT_AWT boondoggle and I got the same error on my Mac, even with the above settings. I suspect that it has to do with the differences between Swing/AWT and SWT regarding the event loop (SWT = bring your own, Swing = provided by JVM). I also get the error in IntelliJ IDEA 12, so it can't just be an Eclipse issue. I had the same problem in my Macbook, as I can see you're downloading the Eclipse Indigo, which is the best you can do. Juno has bugs and also is slow since it consumes more performance than previous releases. I think Indigo is the best option. I know Java is portable and multi-platform but after being working with apple devices I found some kind of incompatibilities with Java, I think not because of Java, but because of the iOS, that's why for me the best I could do was to install a virtual machine with Ubuntu. Joe never oversings or oversells a song, he just lays back and sweetly sings. Joe my name is joe rars. He's not as ambitious as D'Angelo is, but that doesn't really matter, since he delivers the goods on his third album,. There may not be much variety or many remarkable songs on the record -- 'Get Crunk Tonight' stands out with its stuttering, fade-in-fade-out intro and its stylishly funky beat -- but that doesn't matter because this is essentially a mood record, and that mood is love. So you can try the same with the Linux distribution you prefer. You obviously need JRE 1.6 or higher to run your library code. Due to backward compatibility the 1.4 part of your application should run on a that JRE as well. How you interact between your 1.6 lib and your 1.4 application is another question though. Your application cannot use enums or other 1.5 features directly. If everything you directly access in your library is 1.4 compatible it should work, I think.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |