anyone using on NT or Win 2000?
Status: Beta
Brought to you by:
wbogaardt
Is anyone really using java home on WinNT or 2000?
I'm a seasoned Java developer, who would like to
assist in this project (as an avid x-10 user). I've
spent the better part of a day, though, trying to send
a successful transmission to my CM11A. I've tracked
the problem (probably) down to the CMA11 X10 Java API
from Jesse Peterson. I've downloaded his current
version and even the basic programs are reporting
a "Breakdown in protocol, comsuming all bytes...".
I'm just curious if I'm the only one trying to run
this on the NT platform or if I've got a hardware
configuration quirk here. BTW, I can run ActiveHome
with no problems.
Thanks!
Logged In: NO
I am trying to use it on Win2000, but I can't even get it
to run. I have tried just about every classpath
combination, I have even extracted the jar files but no
luck. When I trying running from the root I get this...
C:\>java -jar alice.jar
Failed to load Main-Class manifest attribute from
alice.jar
When I try from the alice directory I get this, even though
comm.jar is in my classpath.
C:\Program Files\alice-0-1-9pre3\lib>java -jar alice.jar
...
Look and feel not supported
Reverting to stand alone client
Connecting to local HAGateway . . .Exception in
thread "main" java.lang.NoClassD
efFoundError: javax/comm/SerialPortEventListener
If I could get it running I could try to answer your
question for you.
Any ideas?
Jeremie
Logged In: NO
I am running on Windows XP with no problem. Well after I corrected one problem with the Config Dialog,
with the 0-1-9-pre2 level. I assume NT or 2000 would work as well.
As for the 2nd problem (thread "main" java.lang.NoClassDefFoundError: javax/comm/SerialPortEventListener).
It looks like the Java Comm Support isn't setup correctly or the wrong version.
1. Which Java Comm version are you using? I downloaded 2.0 and am not having problems.
2. Make sure the javax.comm.properties file is in your jre lib directory. If using Sun JDK, this isn't
necessarily the JDK lib directory. For me this ends up being C:/Program Files/JavaSoft/JRE/1.3.1/lib, even
though I installed the jdk into C:/jdk1.3.1
3. Make sure the win32com.dll is in your path.
Steve
Logged In: YES
user_id=194776
I have the same problem with windows 2000. I have the 2.0
version of javax.comm installed. I have been able to use
the x10 APIs to communicate with the CM11a just fine.
Anyone have any ideas?
Logged In: YES
user_id=194776
Ok, I got ALICE up on Windows 2000, but no serial ports. I
get the following dump, hopefully this will man something
to somebody. Again, I'm able to speak with the CM11a though
the X10 Java APIs. Do I need to recompile with the latest
JDK or import a bug fix to the X10 APIs?
java.lang.NullPointerException
at org.wcb.autohome.SerialPanel.setPort
(SerialPanel.java:146)
at org.wcb.autohome.SerialPanel$1.actionPerformed
(SerialPanel.java:116)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:14
50)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerform
ed(Abstra
ctButton.java:1504)
at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel
.java:378)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:250
)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonL
istener.java:216)
at java.awt.Component.processMouseEvent
(Component.java:3715)
at java.awt.Component.processEvent
(Component.java:3544)
at java.awt.Container.processEvent
(Container.java:1164)
at java.awt.Component.dispatchEventImpl
(Component.java:2593)
at java.awt.Container.dispatchEventImpl
(Container.java:1213)
at java.awt.Component.dispatchEvent
(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451
)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:2125)
at java.awt.Container.dispatchEventImpl
(Container.java:1200)
at java.awt.Window.dispatchEventImpl
(Window.java:926)
at java.awt.Component.dispatchEvent
(Component.java:2497)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:339)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchTh
read.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:85)
{baud=4800, serial.port=NO PORTS FOUND,
initialOnStart=true, stop.bit=1, data.bi
t=8, interface.type=CM17A, rmi.server=127.0.0.1,
parity=None}
Logged In: YES
user_id=389656
Make sure the win32com.dll is in your path.
You will get the ClassNotFoundException if the classpath or path isn't setup properly. If you have the JDK (
not just the jre ) you may want to compile one of the samples from the COMM API package and make sure
you have the classpath and path setup correctly.
Steve
Logged In: YES
user_id=1118370
years after your post....don't know if you still care. I'm
running on XP, but with a cm17a (firecracker) interface, not
the cm11a.