OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: ewc115 on June 15, 2004, 02:00:19 pm

Title: GUI\'s on C760
Post by: ewc115 on June 15, 2004, 02:00:19 pm
I am currently trying to program a GUI in Java using .swing, JFrame, and all sorts of Java 1.2+.  Does the SL-C760 have Java 1.1 on it?  How do I get the 1.2+ on it?  If I do end up getting the 1.2+ on the zaurus will I be able to compile and run my program?  I\'m not very familiar with this device and am learning step by step.  Thanks for the help!
Title: GUI\'s on C760
Post by: maslovsky on June 15, 2004, 02:05:28 pm
What ROM do you have? Cacko ROMs don;t have Java installed by default - you need to install it from the Japanese CD that came with your Z. That Java version does not support Swing however - only AWT
Title: GUI\'s on C760
Post by: ewc115 on June 15, 2004, 02:09:05 pm
I have compiled for example the basic \"helloworld\" program with Java, which means that there should be Java on the handheld.  How do I get the swing to work?
Title: GUI\'s on C760
Post by: ccrandal on June 15, 2004, 02:31:13 pm
I would think you\'d just need the swing.jar on your Z and put it somewhere in the classpath.  I tried this back when I had the SL-5000D, though, and it did not work since that version of Java was JDK 1.1.8 compatible.  I\'m not sure what version of Java is loaded on the Cacko ROM.
Title: GUI\'s on C760
Post by: cvmiller on June 15, 2004, 09:49:18 pm
Quote
I am currently trying to program a GUI in Java using .swing, JFrame, and all sorts of Java 1.2+.  Does the SL-C760 have Java 1.1 on it?  How do I get the 1.2+ on it?  If I do end up getting the 1.2+ on the zaurus will I be able to compile and run my program?  I\'m not very familiar with this device and am learning step by step.  Thanks for the help!


Unfortunately, I can\'t answer. I have an SL-6000 which as a JRE build by Sun in the Sharp ROM. Here\'s what it shows:
bash-2.05$ cvm -showversion
java version \"J2ME Personal Profile for Zaurus 1.0\"
J2ME Personal Profile 1.0 (build 1.0_fcs-b25)
J2ME CDC-HI 1.0_v01

I hope this helps,

Craig...
Title: GUI\'s on C760
Post by: flens on July 05, 2004, 06:59:47 pm
Hi
Look here
http://java.sun.com/products/personalprofile/index.jsp (http://java.sun.com/products/personalprofile/index.jsp)

pp4zaurus (personal profile for zaurus) seems to be the java vm, you have installed.

Perhaps you will find here the information you need.
Moin flens