RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
mjljt2.0.2 error on WIN2K & J2RE 1.4.2
Author Message
Reply with quote
Post mjljt2.0.2 error on WIN2K & J2RE 1.4.2 
While I'm fighting to get the commapi that I belive now is only available in/for the J2EE (JDK)version, I've tried the mjljt_2.0.2 on my 2 WIN2K/J2RE machines. The program does not start, get the following error: Fatal exception occurred. Program will exit.

No problem with mjljt_1.0.0, the program starts but report the following errors when hitting GET CONFIG:

javax/comm/UnsupportedCommOperationException

java.lang.NoClassDefFoundError: javax/comm/UnsupportedCommOperationException

at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.readConfiguration(MegaJoltLiteJr.java:565)

at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.getConfigButtonActionPerformed(MegaJoltLiteJr.java:442)

at org.megaJoltLiteJr.presentation.MegaJoltLiteJr.access$200(MegaJoltLiteJr.java:20)

at org.megaJoltLiteJr.presentation.MegaJoltLiteJr$3.actionPerformed(MegaJoltLiteJr.java:309)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

I assume this is related to the infamous Commapi.

Brent what are you running?

View user's profile Send private message
Reply with quote
Post I think I know what your prob 
I think I know what your problem is- Try putting the comm.jar in the same directory as the mjlj-2.0.2.jar file.

the 2.0.2 jar file will try to read the config right away, so that's probably why you're seeing the error right away.

Actually I just replicated your problem when I removed the comm.jar from that directory on my computer.

Let us know if that works for you-
Brent


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post Yes!!! placed the comm.jar fi 
Yes!!! placed the comm.jar file in the same directory now 2.0.2 works on the office PC!

I've tried also on the Notebook on a fresh J2RE installation with no commapi.

MJLJ_2.0.2 reported: Unknown com port

After commapi files being copied in the right directories the message changed in a glorious: Could not commect to controller

No CLASSPATH thing done.

I found usefoul to create a .bat file that looks like this:

copy c:\commapi\win32com.dll c:\jdk1.4.2_04\bin
copy c:\commapi\comm.jar c:\jdk1.4.2_04\lib
copy c:\commapi\javax.comm.properties c:\jdk1.4.2_04\lib


I've the MJLJ at home I'll try again this evening.

View user's profile Send private message
Reply with quote
Post great! 
You should have a red message saying "could not connect to controller" at the bottom.




_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post Great! 
I was editing my original post when you posted yours.


Thanks Brent!!!!



View user's profile Send private message
Reply with quote
Post Yes!!!! 
Mr. Runtime Display says: it's running.

Yes!! Yes!! Yes!!!

View user's profile Send private message
Reply with quote
Post same prob 
I can't connect .I moved all the files to the same dir.And
now I get in red letters (unable to open port com1;unknown serial
port)I know it's something simple that I'm not seeing.


View user's profile Send private message
Reply with quote
Post There is still something wron 
There is still something wrong with the commapi installation. Take your time, find the correct JAVA installation path on your hard drive and copy the 3 files in the correct directory:

COPY win32com.dll TO ..\java\J2RE1.4.2_x\bin

COPY comm.jar TO ..\java\J2RE1.4.2_x\bin AND IN YOUR MegaJoltTuning software folder!!

COPY javax.comm.properties TO ..\java\J2RE1.4.2_x\bin

You're done.

If you want to check where your Java installation folder is, you can run Java Web Start from the program louncher, then FILE > PREFERENCE > JAVA ... in the COMMAND tab you should see the base path.

I think it's better to start a new topic...




View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum