FMEMF Project Site

This is a project site for factory machine and environment monitoring framework project. All major updates and news regarding the project will be posted under this site.

Friday, January 20, 2006

Configure J2SDK1.4.2_10 as cygwin java reference

This post is showing how to configure JDK 1.4.2 to become TinyOS cygwin java reference.

System requirement:
-Windows 2000/XP
-Preinstalled with j2sdk1.4.2_10 (or higher version)
-Preinstalled with TinyOS1.1.0

Pre
-Cygwin refer to \tinyos\jdk1.4.1_02 originally
-3 files needed
->win32com.dll (located at: \tinyos\jdk1.4.1_02\jre\bin)
->comm.jar (located at: \tinyos\jdk1.4.1_02\jre\lib\ext)
->javax.comm.properties (located at: \tinyos\jdk1.4.1_02\jre\lib)

Steps:
1.)
Go to regedit
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4
Change JavaHome registry value to (example: C:\j2sdk1.4.2_10)
Change MicroVersion registry value to 2

2.)
Go to windows environment varibles
Append in front of any others path value to the System Variables Path

3.)
Copy win32com.dll (mentioned on above) to \j2sdk1.4.2_10\jre\bin\
Copy comm.jar (mentioned on above) to \j2sdk1.4.2_10\jre\lib\ext\
Copy javax.comm.properties (mentioned on above) to \j2sdk1.4.2_10\jre\lib

4.)
Restart cygwin, type toscheck to make sure the configuration success.



Screen shot that showing toscheck completed without error

0 Comments:

Post a Comment

<< Home