Click here to Skip to main content
15,888,022 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am writing a program where i need to add files in the jre directory ( files for the rxtxcomm) , to get the directory i was thinking of using the environment variables but when i looked them on my pc (manually ) i couldnt find the JAVA_HOME .. although java programs , compilers , jmf , every thing is working perfect .. how come they work when i dont have the JAVA_HOME ? also is there another way to use rxtxcomm without having to add the files ? ( i mean after development of course when i want to run it on another machine other than the one am using for development )

am using windows xp sp3
thank you .
Posted

1 solution

JAVA_HOME is used to indicate explicitly where the JRE is located. If it is already on your PATH list the you should't need to set it up. There are some things, Tomcat for example, that do require it.

When you say you want to 'add files in the jre directory' are you refering to importing classes? They are defined in the build manifest which your IDE should mmanage for you.
 
Share this answer
 
Comments
sector_9 27-Oct-10 2:07am    
Thank you for your reply .
I looked in to PATH but it doent have it either: (%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\)

buy "adding files to jre" i mean that after development in order to run my application on any machine i have to add rxtxcomm.jar , rxtxSerial.dll and rxtxParallel.dll to the jre of that machine
Mayur Raiyani 10-Aug-11 3:22am    
Yes u have to configure JRE to that machine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900