You are not logged in.

pslat

Beginner

  • "pslat" started this thread

Posts: 2

Date of registration: Oct 2nd 2009

Location: Ireland

Occupation: Software Developer

Hobbies: Hillwalking

  • Send private message

1

Friday, October 2nd 2009, 4:57am

Jabaco on Windows Mobile 2005

Hi Manuel, Firstly let me say that this is the best app I have seen in years (And I'm a developer...). Thanks for all the effort you have put into this.

I love the idea of being able to write software in vb and convert it to java. It was a real buzz to see the compiled code running on linux. I then tried an application (your calculator sample) on a dell Axim x51 with Mysaifu JVM installed, which works quite well with simple java apps (It's not java ME) but no luck. Well, it was worth a try but just in case you can throw any light on this I got the following messsage in the console:
Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
at java.lang.VMClass.getDeclaredMethods(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:536)
at java.lang.Class.internalGetMethod(Class.java:722)
at java.lang.Class.getMethod(Class.java:710)
at java.lang.VMMainThread$1.run(VMMainThread.java)
at java.lang.VMThread.run(VMThread.java:120)
Caused by: java.lang.NoSuchMethodError: initVars
at VB.AbstractForm.<init>(AbstractForm.jsrc:31)
at VB.Form.<init>(Form.jsrc)
at frmMain.<init>(frmMain.jsrc)
at Module1.<clinit>(Module1.jsrc)
at java.lang.VMClass.getDeclaredMethods(Native Method)
...5 more

- The '..5 more' was part of the message. I have tried adding Jabaco.jar to the classpath and the bootclasspath but I got exactly the same message. Any ideas or is it just not possible ?(
I know Mysaifu JVM is still in development so it may be a problem that end, It is meant as a java vm that conforms to j2se. Thanks again for the excellent software :thumbup:

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Friday, October 2nd 2009, 3:54pm

Hi,
in the compiled Java code of the Jabaco framework, class VB.AbstractForm definitely has a private method "initVars()".
So the error message looks strange to me.

Have you tried a new version of Jabaco.jar?

Greetings

A1880

pslat

Beginner

  • "pslat" started this thread

Posts: 2

Date of registration: Oct 2nd 2009

Location: Ireland

Occupation: Software Developer

Hobbies: Hillwalking

  • Send private message

3

Friday, October 2nd 2009, 5:03pm

Jabaco on Windows Mobile 2005

A1880 Yes, I have just tried the latest (Jabaco200910010500.jar) with the same results. I think it maybe something to to with Mysaifu and the classpaths. I will post back if I find out any more.

Rate this thread
WoltLab Burning Board