Author Topic: Java Environment  (Read 7262 times)

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Java Environment
« Reply #15 on: February 13, 2006, 05:26:00 pm »
Can this jamvm be integrated with Firefox to run java viewing apps such as are used with GoToMyPC and LogMeIn (and a lot of other web java apps too)? Many network administrators (mine for instance!) are wary of opening up ports in their firewalls for RealVNC, etc, but allow these commercial services across the firewall. This would be a big enhancement of the Z for many of us. Given the potentially tricky configuration if this works at all, another of Meanie's cramfs packages with the configuration in place would be ideal -- if he or someone else has the time and inclination.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Java Environment
« Reply #16 on: February 13, 2006, 07:35:46 pm »
Quote
Can this jamvm be integrated with Firefox to run java viewing apps such as are used with GoToMyPC and LogMeIn (and a lot of other web java apps too)? Many network administrators (mine for instance!) are wary of opening up ports in their firewalls for RealVNC, etc, but allow these commercial services across the firewall. This would be a big enhancement of the Z for many of us. Given the potentially tricky configuration if this works at all, another of Meanie's cramfs packages with the configuration in place would be ideal -- if he or someone else has the time and inclination.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114702\"][{POST_SNAPBACK}][/a][/div]

this would be great but requires a java plugin to work with firefox. unfortunately, the source code for it does not seem to be available, however, the opera plugin may work so if it can be adapted to work with jamvm then there could be a slim possibility...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Java Environment
« Reply #17 on: February 13, 2006, 07:37:09 pm »
I'd love better java support in pdaxrom....  simple end user stuff that runs common apps , etc. Especiallly some sort of web browser java plugin thing... I hope this isn't getting too technical

However, if you want to do vnc ( I use tightvnc, but I doubt it matters much) through a firewall, it is pretty easy to forward the vnc ports  through an ssh tunnel.  ssh can tunnel anyplace, if you have a server on the outside and the ssh server daemon listening on the right port.  This way, you can tunnel out via ssh (on, say, port 80), use it to forward the vnc port and run your remote vnc on your local host.

There is plenty of documentation online  on ssh port forwarding.

my 3100 runs remote vnc over a  forwarded port using ssh and works very nicely.  I have a headless dual p3 700 running debian with a dyndns dynamic domain name always up and in my "DMZ" doing various server things. I just ssh in, start a vncserver, do the port forwarding line on my z, at a new prompt tell the vncviewer to look at  localhost:whatever-desktop-number-I'm-using-in-vnc
Betwwen ssh, tightvnc, and tricke--if I need it, I can be reasonably unobtrusive and generally not abuse the bandwidth more than web surfing.   In fact this is one way to surf securely and  manage p2p stuff remotely, etc

some instructions.
« Last Edit: February 13, 2006, 07:53:02 pm by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Java Environment
« Reply #18 on: February 13, 2006, 09:36:53 pm »
Thanks for the thought, but while tunneling through port 80 would work, this is not invisible, just encrypted. It would be strongly disapproved of in a lot of organizations, and the people who disapprove are usually the same people who decide on your requests for new hardware and software. Some would be inclined to assign you a typewriter and a TI calculator and give your computer to someone less creative.

What I do now is connect with vncviewer or rdesktop to one of my home computers where I control the router and then connect from there using LogMeIn to work. In fact I usually have VMware virtual machines running at both home and work configured to ease remote control from the Zaurus. Believe it or not, the response time isn't too much different through "five" machines from direct remote control connection speed. With Verizon's 3g network and the Motorola e815 bluetooth phone, I get DSL-ish speed from most any US metropolitan area and can work at my virtual office computer. Syncing doesn't matter much this way.

But it would still be easier and more reliable to set up, connect with the java plugin for the Z, and probably some faster too. Hopefully someday . . .

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Java Environment
« Reply #19 on: February 14, 2006, 01:12:48 pm »
Quote
Thanks for the thought, but while tunneling through port 80 would work, this is not invisible, just encrypted. It would be strongly disapproved of in a lot of organizations, and the people who disapprove are usually the same people who decide on your requests for new hardware and software. Some would be inclined to assign you a typewriter and a TI calculator and give your computer to someone less creative.

What I do now is connect with vncviewer or rdesktop to one of my home computers where I control the router and then connect from there using LogMeIn to work. In fact I usually have VMware virtual machines running at both home and work configured to ease remote control from the Zaurus. Believe it or not, the response time isn't too much different through "five" machines from direct remote control connection speed. With Verizon's 3g network and the Motorola e815 bluetooth phone, I get DSL-ish speed from most any US metropolitan area and can work at my virtual office computer. Syncing doesn't matter much this way.

But it would still be easier and more reliable to set up, connect with the java plugin for the Z, and probably some faster too. Hopefully someday . . .
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114717\"][{POST_SNAPBACK}][/a][/div]
I try to compress the data, use it sparingly, and work over a high traffic port, but, point taken
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

brice.beard

  • Newbie
  • *
  • Posts: 5
    • View Profile
Java Environment
« Reply #20 on: February 26, 2006, 03:55:20 pm »
Quote
I rebuild GNU classpath with Java2D/Cairo enabled. I also compiled jEdit version 4.3pre3 to see if it runs with current versions of JamVM and GNU Classpath.
jEdit can be run as follows:

Code: [Select]
jamvm -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D -jar jEdit.jarWell, the good news is that jEdit indeed starts, but is't like Mark Wielaard, one of the Classpath developers said a while ago:

Quote
I always make sure jedit at least starts up when we are doing a new
release. And with each release it does become more and more usable. You
can now actually open a document, edit a bit, search and replace, etc.
But there are certainly still a lot of drawing/refresh bugs. Also the
embedded beanshell used to not work properly, but this might now be
fixed.
It's a nice to see such a demanding Swing application almost works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114690\"][{POST_SNAPBACK}][/a][/div]

Can someone help ?
I installed jamvm and classpah on /hdd4/usr/java but when I try to run something I get:

bootclasspath is empty !

If I use -Xbootclasspath with classes.zip and glib.zip, I get

Cannot create syste class loader.

Does jamvm expect an install in /usr/java ? How can I link it ?

thanks

brice