trouble installing java.comm

General Megajolt Questions and Answers

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
n20junkie
Posts: 0
Joined: Wed Mar 24, 2004 7:27 pm

trouble installing java.comm

Post 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

1303 RS
Posts: 0
Joined: Sun Feb 29, 2004 9:23 pm

download the files here and f

Post 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

n20junkie
Posts: 0
Joined: Wed Mar 24, 2004 7:27 pm

thanks

Post by n20junkie »

thanks a ton, sometimes us simple people need it put in simple terms, and i got it finally, much appreciated.
Grant

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Cool, thanks for helping out.

Post by brentp »

Cool, thanks for helping out. I think I'll incorporate it into the instruction pages. :)
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

neil85ae86
Posts: 0
Joined: Sun Mar 07, 2004 7:13 pm

hmm... I must be missing something elementary

Post 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
Squirted 4agte AE86

neil85ae86
Posts: 0
Joined: Sun Mar 07, 2004 7:13 pm

I don't understand, I'm very

Post 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
Squirted 4agte AE86

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

So entering 'java -jar ' does

Post 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
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

neil85ae86
Posts: 0
Joined: Sun Mar 07, 2004 7:13 pm

doh

Post 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
Squirted 4agte AE86

rino
Posts: 0
Joined: Tue Oct 05, 2004 11:29 pm

...

Post 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)

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Sounds like you don't have th

Post by brentp »

Sounds like you don't have the comm.jar file in the same directory as the mjlj JAR file.

Brent
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply