Notes on the JavaTM software:
This page is intended to report problems with JavaTM software as it relates to the installation
of the SRT control software. The latest entries will be dated and at the top of the page. Further information
may be found on the SRT Message board. We encourage the use of the message board to help with your software
and hardware questions and will post suggested solutions to problems here when appropriate.
January 21, 2003 -
There is a possible solution to the Com Port Problems reported below when SRT users
attempt to run the SRT console in full operational (java srt 0) mode on Windows Systems (95/98/Me/2000/XP).
Different versions of JavaTM2 SDK software have exhibited ComPort communication
errors when run on various Window platforms. Recent tests of the latest JavaTM2 SDK version
1.4.1_01 running on a Windows-XP OS yielded Com port errors similar to those reported on September 24, 2002.
Please NOW INCLUDE the \jre\ subdirectory in your CLASSPATH settings and
for ALL users; make sure the javax.comm.properties and the comm.jar files are resident in the c:\j2sdk1.X.X_XX\jre\lib
subdirectory.
For Windows 95/98/Me users:
In the autoexec.bat file, Set CLASSPATH=.;c:\j2sdk1.X.X_XX\jre\lib\comm.jar
This is a change from older instructions where the path did not include the sub-directory \jre\
For Windows 2000/NT/XP users:
Following the instructions on the Windows 2000/NT/XP Download page:
Set CLASSPATH=.;c:\j2sdk1.X.X_XX\jre\lib\comm.jar
This is a change from older instructions where the path did not include the sub-directory \jre\
September 24, 2002 - There may be a problem with the JavaTM2 SDK Standard Edition, version 1.4.0_02
as it relates to the compilation and execution of the SRT java files.
When the user attempts to run the SRT software in the full operation
mode,
That is: java srt 0
The following error message is displayed.
The portjavax.comm.CommPortEnumerator@7b6889
The port not found - ports that were found:
This problem was reported on a Windows98 operating system. A similar problem was reported using JavaTM2 SDK Standard Edition, version 1.4.0_01 beta 03 with a WindowsME operating
system.
We have tested JavaTM2 SDK version 1.4.1 with the latest SRT Java files
and the "full operation" SRT console opens properly.
January 22, 2002 - If you have several versions of SDK, it is important to make sure you set your CLASSPATH to the desired version.
In Windows 95/98/NT, the classpath can be checked by typing:
set or echo %classpath% in the "MS-DOS prompt" window (Win 95/98/ME)
or the "Command Prompt" window (NT/Professional 2000/XP).
The Java version can be checked by typing: java -version.
November 20, 2001 - We have recently discovered an apparent problem with the JavaTM2 SDK Standard Edition, version 1.3.1_01
as it relates to the compilation and execution of the SRT java files.
When the user attempts to run the SRT software in the full operation
mode,
That is: java srt 0
The class.method CommPortIdentifier.getPortIdentifiers() returns nothing.
This problem arises on the windows versions we tested (win98, win2000 NT and winME)
when the srt software was complied using v.1.3.1_01.
The problem does not occur with earlier JDK releases. Nor does it occur
when compiled using the current version of SDK v.1.4 Beta 3. However , if you wish to use the sdk1.4 beta 3 version of JavaTM2, you must
also use the latest version of srt.java dated 11/20/2001.