Page 1 of 1

trouble installing java.comm

Posted: Wed Mar 24, 2004 7:30 pm
by n20junkie
i have having trouble installing java comm, i am ok with computers, not great, i have heard that there might be a software update with an auto install, is this true, if not any suggestions on installing javacommother than what is in the readme, it is for windows xp, thanks
Grant

download the files here and f

Posted: Wed Mar 24, 2004 10:59 pm
by 1303 RS
download the files here and folow the instuction below

http://users.pandora.be/luykx/mega/



Unzip this files

- j2re-1_4_2_03.zip
- javacomm20-win32.zip
- mjljTune-2.0.2.zip


Install j2re-1_4_2_03-windows-i586-p.exe en restart your PC.


copy the unzipped file "mjljTune-2.0.2" to c:\Program Files

Make a coupling from "mjljTune-2.0.2.jar" to your desktop


Copy this files "javacomm20-win32" to the right place


Copy - javacomm20-win32\commapi\com.jar to c:\Program Files\mjljTune-2.0.2

copy- javacomm20-win32\commapi\comm.jar to c:\Program Files\Java\j2re1.4.2_03\lib

copy- javacomm20-win32\commapi\javax.comm.properties to c:\Program Files\Java\j2re1.4.2_03\lib

copy- javacomm20-win32\commapi\win32com.dll to c:\Program Files\Java\j2re1.4.2_03\bin



that's just it

thanks

Posted: Thu Mar 25, 2004 2:54 am
by n20junkie
thanks a ton, sometimes us simple people need it put in simple terms, and i got it finally, much appreciated.
Grant

Cool, thanks for helping out.

Posted: Tue Apr 13, 2004 5:45 pm
by brentp
Cool, thanks for helping out. I think I'll incorporate it into the instruction pages. :)

hmm... I must be missing something elementary

Posted: Wed Apr 21, 2004 12:29 am
by neil85ae86
Work have recently given me a new machine (IBM T40, winXP and no serial ports so I'm using USB adapter), and I'm having no luck getting this working.

Since I worked with computers all day long, and I'd previously set this up on my old machine this looked pretty simple.

I didn't have any luck using the existing java, so I downloaded all the files as specified exactly in the above message and put everything where it is supposed to go but I'm still getting the same old error I got the first time I tried the install ( done the above steps 3 times! ) ...I know it has to be something I'm overlooking.

here is the error message;

Exception in thread "main" java.lang.NoClassDefFoundError: mjljTune-2/0/2/jar

Any help would be appreciated

Neil
Squirted 4agte AE86

I don't understand, I'm very

Posted: Wed Apr 21, 2004 12:40 am
by neil85ae86
I don't understand, I'm very commandline oriented, when I try to run the .jar file via the commandline I get the above error, when I double click the .jar from within an explorer window it works!

:)

Neil
Squirted 4agte AE86

So entering 'java -jar ' does

Posted: Wed Apr 21, 2004 4:56 am
by brentp
So entering 'java -jar <the jarfile name>' doesn't work? that's weird. you might want to check to see if the command line is pointing to the old version of java.

At the command line enter
java -version to see what version it comes up with. if it's an old version that could be your problem.

Brent

doh

Posted: Wed Apr 21, 2004 1:20 pm
by neil85ae86
I didn't use the -jar parameter, didn't think I needed it. It works when I use it. Has it always been a requirement even with old 1.1.6ish JDKs (back when I used to do alot more Java stuff).

Thanks.

Neil
Squirted 4agte AE86

...

Posted: Sat Dec 11, 2004 3:17 am
by rino
does this look funky to you brent or neil? I'm trying to run it too and at first I had the same problem as neil so I tried using -jar and gives me this error.

% java -jar mjljTune-2.0.2.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/UnsupportedCommOperationException
at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.readConfiguration(MegaJoltLiteJr.java:663)
at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.<init>(MegaJoltLiteJr.java:56)
at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.main(MegaJoltLiteJr.java:569)

Sounds like you don't have th

Posted: Sat Dec 11, 2004 12:31 pm
by brentp
Sounds like you don't have the comm.jar file in the same directory as the mjlj JAR file.

Brent