Help: Error when try to run j2mewtk 1.0.3 under redhat linux7.1

I downloaded and installed a j2mewtk 1.0.3 beta release onto my linux pc,

but I got message when I tried to run ktoolbar.sh:

$ sh ktoolbar.sh

ktoolbar.sh: line 23: 2200 Segmentation fault ${javapathtowtk}java

-Dkvem.home=${KVEM_HOME} -cp ${KVEM_LIB}/kenv.zip:${KVEM_LIB}/ktools.zip

com.sun.kvem.toolbar.Main $*

Also same thing happens when I run emaultor.sh and other *.sh,

$ sh emulator.sh

emulator.sh: line 23: 2251 Segmentation fault ${javapathtowtk}java

-Dkvem.home=${KVEM_HOME} -cp ${KVEM_LIB}/kenv.zip:${KVEM_LIB}/ktools.zip

com.sun.kvem.environment.EmulatorWrapper $* 0

I installed a JDK java version "1.3.1_01"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)

Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

and it works fine with my other java applications.

I tried to set LD_ASSUME_KERNEL=2.2.5, it doesn't help.

Other environment:

AMD K2-300 CPU with 228MB RAM and enough harddisk space.

Linux 7.1 2.4.2-2 and glibc 2.2.2-10(which comes with linux 7.1

standard installation).

Thank you very much!

[1223 byte] By [raybao] at [2007-9-26 11:08:27]
# 1

[raybao],

You might want to erase the previous installation and install the recent officially released version of the J2ME Wireless Toolkit 1.0.3 from:

http://developer.java.sun.com/developer/releases/j2mewtoolkit/

If you still encounter the same errors, please post your test results here and we might want to do some more investigation.

HTH.

Allen Lai

Developer Technical Support

SUN Microsystems

htpp://www.sun.com/developers/support/

allenlai at 2007-7-2 0:03:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

I get the same problem with the latest j2mewtk 1.0.3. Here is the output:

./ktoolbar: line 25: 17456 Segmentation fault(core dumped) ${javapathtotk}java -Dkvem.home=${KVEM_HOME} -cp ${KVEM_LIB}/kenv.zip:${KVEM_LIB}/ktools.zip com.sun.toolbar.Main $*

I am using jdk1.3.1 for linux on RedHat 7.0 kernel 2.4.12.I have tried unzipping the souce files and running from it with no avail :)

Randy

rstreato at 2007-7-2 0:03:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

hi all!

unfortunately i can only add that i get the same error when i run (the latest) j2mewtk 1.0.3 with jdk 1.3.1_02 (downloaded from sun) on my suse 7.2 linux box.

the shell scripts pick up my configuration 100% and i've even tried different (manual) parameters. my jdk works 100% (as far as i can tell), but i'm going to try other versions of the jdk, just for in case. i'll let you know what i find.

regards

adriaan hough

510123 at 2007-7-2 0:03:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
hi againso yes, i simply installed ibm's jdk 1.3 and it worked! regardsadriaan hough
510123 at 2007-7-2 0:03:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Thank You!!! I _had_ the same problem.I would never have done this if I hadn't read your note, but the IBM jdk solved the problem.
lcommons at 2007-7-2 0:03:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...