Author Topic: GUI\'s on C760  (Read 3542 times)

ewc115

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
GUI\'s on C760
« 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!

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
GUI\'s on C760
« Reply #1 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

ewc115

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
GUI\'s on C760
« Reply #2 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?

ccrandal

  • Full Member
  • ***
  • Posts: 126
    • View Profile
GUI\'s on C760
« Reply #3 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.
Zaurus SL-C760
Cacko Qtopia 1.21b
EDGE 512MB CF/Kingston 256MB SD
AmbiCom WL1100C-CF
Socket Bluetooth CF (rev F)

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
GUI\'s on C760
« Reply #4 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...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

flens

  • Newbie
  • *
  • Posts: 14
    • View Profile
GUI\'s on C760
« Reply #5 on: July 05, 2004, 06:59:47 pm »
Hi
Look here
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

Christian Paulsen
http://auu.homelinux.org
c760 cacko X/QT