Author Topic: Too Stupid To Run A Java Program (ewe)  (Read 4365 times)

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Too Stupid To Run A Java Program (ewe)
« on: January 11, 2007, 03:33:28 am »
Hello,
i have a simple problem but it makes me crazy  

Initial situation:
I tried to run ""Cachewolf"/Cachewolf Downloadsite on the zaurus with pdaxrom.
Cachewolf is a geocaching application which runs under several OS (it runs without any problem under windows) because it's programmed with the plattform independent Java and Ewe.
The Ewe Environment exists for the zaurus, linux and java Runtime.

Some Java Runtime Environment exists on the pdaxrom Plattform:
- jamvm+classpath
- blackdown jdk

My Trial:
1. Download and install the jamvm 1.4.4 + classpath 0.92
2. Download the JRE Version of Cachewolf
3. Download the JRE Version of EWE
4. Extracting both
5. Define the Path to classpath and the ewe over the /etc/profile
Code: [Select]
export PATH=$PATH:/pathtojamvm/bin
export CLASSPATH=/pathtoshareclasspath/glibj.zip:pathtoewe/ewe.jar
6. The command tries to execute cachewolf:

6.1.
Code: [Select]
jamvm /pathtoCachewolf/CacheWolf.jarError: java.lang.ClassNotFoundException: .mnt.car.cachewjar not found in java.lang.ClassLoader$1

6.2
Code: [Select]
javam -cp /mnt/card/ewe/ewe.jar /mnt/card/cachewjar/CacheWolf.jarThe same Error as 6.1

6.3
Code: [Select]
jamvm -cp /pathtoewe/ewe.jar:./ Ewe /mnt/card/cachewzaurus/CacheWolf.eweError: java.lang.Exception: Class not found: 12M at ewe.applet Ewe.main ....


I make several other trys with all possible combinations (Linux Cachewolf with JRE Ewe, Zaurus Cachewolf with JRE EWE, Zaurus Cachewolf with Zaurus Ewe, java (jar) Cachewolf with JRE ewe .......) but nothing works. Either the ewe classes are not found or the jamvm tells me that the main.java class of ewe cannot found

I'm very new in Running Java Programs on the Zaurus and i know that jamvm can't bind the ewe class but i don't know how to solve the Problem and what mistakes i made .

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Too Stupid To Run A Java Program (ewe)
« Reply #1 on: January 11, 2007, 03:49:01 am »
Quote
Hello,
i have a simple problem but it makes me crazy  

Initial situation:
I tried to run ""Cachewolf"/Cachewolf Downloadsite on the zaurus with pdaxrom.

Wahoo, just another geocacher using CacheWolf :-)

Quote
Code: [Select]
jamvm /pathtoCachewolf/CacheWolf.jarError: java.lang.ClassNotFoundException: .mnt.car.cachewjar not found in java.lang.ClassLoader$1

Try the following:
jamvm -cp ewe.jar:CacheWolf.jar Ewe CacheWolf.CacheWolf

This fires up the Ewe engine which in turn starts the CacheWolf.CacheWold class

That should work.

Oliver

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Too Stupid To Run A Java Program (ewe)
« Reply #2 on: January 11, 2007, 04:19:43 am »
I tried the command but it get an exception.
Exiting application due to exception thrown in main().
In the first line it says java.lang.UnsupportedOperationException with many lines after them (... at gnu.java.awt.pear.gtk.CairoGraphics2D ... at ewe.fx ...., at exw.ui

What program combination do you use? Ewe jar with Cachewolf jre or Ewelinux with Cachewolf linux or the Zaurus Cachewolf with ewe jar? Questions over questions

I thought i was the the only geocacher here using a Zaurus
« Last Edit: January 11, 2007, 04:36:29 am by Speedy »

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Too Stupid To Run A Java Program (ewe)
« Reply #3 on: January 11, 2007, 04:58:01 am »
Quote
I tried the command but it get an exception.
Exiting application due to exception thrown in main().
In the first line it says java.lang.UnsupportedOperationException with many lines after them (... at gnu.java.awt.pear.gtk.CairoGraphics2D ... at ewe.fx ...., at exw.ui

What program combination do you use? Ewe jar with Cachewolf jre or Ewelinux with Cachewolf linux or the Zaurus Cachewolf with ewe jar? Questions over questions

I thought i was the the only geocacher here using a Zaurus
[div align=\"right\"][a href=\"index.php?act=findpost&pid=150789\"][{POST_SNAPBACK}][/a][/div]

I am using the qt2 version of Ewe running under Opie. Did not know that there was a GTK  based one for pdaxrom.
Note that you need a ewe version build for the Zaurus using GTK. As long as there is none in the pdaxrom feeds you will have to build your own.
I have done this once for Opie running under OpenZaurus.

Oliver

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Too Stupid To Run A Java Program (ewe)
« Reply #4 on: January 11, 2007, 05:07:59 am »
Oh that's too bad
Can i not use the normal linux version of ewe with pdaxrom?
Does anybody else use cachewolf on pdaxrom?

Andreas

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Too Stupid To Run A Java Program (ewe)
« Reply #5 on: January 11, 2007, 07:41:30 am »
Quote
Oh that's too bad
Can i not use the normal linux version of ewe with pdaxrom?
Does anybody else use cachewolf on pdaxrom?

No, you can“t. Ewe has native peers built into it.
The Linux version is built for x86 while you need the pxa build.

The Zaurus build is for the right architecture but compiled for Qt/Embedded and Qtopia.

One will have to build Ewe for gtk2 and pdaxrom. Ewe has build files for gtk so it should be a matter modifying the Makefile and compiling it.

Oliver

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Too Stupid To Run A Java Program (ewe)
« Reply #6 on: January 11, 2007, 12:11:22 pm »
Quote
One will have to build Ewe for gtk2 and pdaxrom. Ewe has build files for gtk so it should be a matter modifying the Makefile and compiling it

Oh that's bad  
Is anybody here be able to compile this for me? I haven't good memories at my last compiling tries with pdaxrom ... --> Also too stupid    

greets
Andi

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Too Stupid To Run A Java Program (ewe)
« Reply #7 on: January 21, 2007, 01:25:01 pm »
Hello again. I checked several things, and i think the only need is to compile the Ewe Java Sources on pdaxrom: Ewe Javasources
I tried it with jikes and classpath, but i can't found a java.lang on System (which is needed on compiling).

Can anybody help me?

Greets
Andi

andreask

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Too Stupid To Run A Java Program (ewe)
« Reply #8 on: October 11, 2007, 05:23:23 am »
There now exists a EWE SDK (http://www.ewesoft.com/eve/Downloads/Eve-103-SDK.zip).
Is this useful to compile the EWE Engine easylier on the pdaxrom? Can somebody do this?
Zaurus SL-C1000 Wlan Card and other Accessories