Re: Java question
Beginner's luck, I guess. Try running javaws http://www.horstmann.com/violet/violet.jnlp to see what I mean. I ran jEdit, and indeed it works ok. I didn't have to do anything with Ctrl-n or Ctrl-p. The menus and dialogs all came up, just at weird places. Speed is acceptable, both on the device and with ssh -X. So...it seems to me that there would be a huge benefit of getting Java to work properly on the device. Cay Jeffrey Kesselman wrote: Wow. well congratulations. You take the prize for the *most* broken Java apps. I got JEdit and HeroDesigner both up and working fine except for the need to ctl-n/ctl-p between windows and the bad layout and menus. JK On Dec 29, 2007 3:36 PM, Cay Horstmann [EMAIL PROTECTED] wrote: Yes. Ctrl-n navigates to the completely white window. Once in there, neither Ctrl-n nor Ctrl-p do anything. Jeffrey Kesselman wrote: On Dec 29, 2007 3:04 PM, Cay Horstmann [EMAIL PROTECTED] wrote: It is much worse than that for the two apps that I tried. In the WebStart app, there was a giant gray window containing only the Java Application banner. In the other app, there was an empty white window. Did you try ctl-n/ctl-p ?? -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Java question
Short answer Java GUI apps don't work with Matchbook yet. Long answer: Each Java Window will be a ful l creen display, use alt-n/alt-p to move between them. HOWEVER Layout doesn't work quite right, it thinks the window is much smaller then it really is. Pull down menus don't work at all. JK On Dec 29, 2007 1:12 AM, Cay Horstmann [EMAIL PROTECTED] wrote: I am trying to find out how to run Java GUI applications on the OLPC. I installed Java by downloading and executing jre-6u3-linux-i586-rpm.bin It works--if I ssh -X into the machine from a Linux box, I can successfully run Java Web Start applications such as /usr/java/jre1.6.0_03/bin/javaws http://www.horstmann.com/violet/violet.jnlp But when I try the same from the terminal activity, I just get a screen filled with Java Application Window (which would normally appear as the title decoration of the main window). Similarly, when I place a JAR file onto the OLPC (such as ResourceTest.jar from Core Java vol. 1 ch. 10), it runs beautifully when I ssh -X into the machine, but when I execute it on the machine itself, I get a blank screen. I suppose this has something to do with the window manager on the OLPC. Is there any way to overcome this? Thanks, Cay -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- ~~ Microsoft help desk says: reply hazy, ask again later. ~~ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Java question
Jeffrey Kesselman wrote: Short answer Java GUI apps don't work with Matchbook yet. Long answer: Each Java Window will be a ful l creen display, use alt-n/alt-p to move between them. HOWEVER Layout doesn't work quite right, it thinks the window is much smaller then it really is. I am ok with a full screen display. It is much worse than that for the two apps that I tried. In the WebStart app, there was a giant gray window containing only the Java Application banner. In the other app, there was an empty white window. Pull down menus don't work at all. I would have been happy to at least see them, but they didn't show. Any hints what one can do to work on a fix? Cheers, Cay PS. The other way to run Java would presumably be as an applet, but I cannot get the plugin to work either (http://dev.laptop.org/ticket/865). Did this work for anyone? I presume it must have at one time--see http://wiki.laptop.org/go/RestrictedFormats -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Java question
On Dec 29, 2007 3:04 PM, Cay Horstmann [EMAIL PROTECTED] wrote: It is much worse than that for the two apps that I tried. In the WebStart app, there was a giant gray window containing only the Java Application banner. In the other app, there was an empty white window. Did you try ctl-n/ctl-p ?? -- ~~ Microsoft help desk says: reply hazy, ask again later. ~~ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Java question
Yes. Ctrl-n navigates to the completely white window. Once in there, neither Ctrl-n nor Ctrl-p do anything. Jeffrey Kesselman wrote: On Dec 29, 2007 3:04 PM, Cay Horstmann [EMAIL PROTECTED] wrote: It is much worse than that for the two apps that I tried. In the WebStart app, there was a giant gray window containing only the Java Application banner. In the other app, there was an empty white window. Did you try ctl-n/ctl-p ?? -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Java question
I am trying to find out how to run Java GUI applications on the OLPC. I installed Java by downloading and executing jre-6u3-linux-i586-rpm.bin It works--if I ssh -X into the machine from a Linux box, I can successfully run Java Web Start applications such as /usr/java/jre1.6.0_03/bin/javaws http://www.horstmann.com/violet/violet.jnlp But when I try the same from the terminal activity, I just get a screen filled with Java Application Window (which would normally appear as the title decoration of the main window). Similarly, when I place a JAR file onto the OLPC (such as ResourceTest.jar from Core Java vol. 1 ch. 10), it runs beautifully when I ssh -X into the machine, but when I execute it on the machine itself, I get a blank screen. I suppose this has something to do with the window manager on the OLPC. Is there any way to overcome this? Thanks, Cay -- Cay S. Horstmann | http://horstmann.com | mailto:[EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel