Logic Controlled Technologies Forum
Welcome, Guest. Please login or register.
September 09, 2010, 05:16:01 PM

Login with username, password and session length
Search:     Advanced search
Please email us after submitting registration info for approval.  Please include email address you registered.  This is to avoid unwanted advertising from forum spammers.
13 Posts in 8 Topics by 29449 Members
Latest Member: bseo2
* Home Help Search Login Register
+  Logic Controlled Technologies Forum
|-+  General Category
| |-+  Computer Softwares
| | |-+  Where do I put my Java ".jar" files?
« previous next »
Pages: [1] Print
Author Topic: Where do I put my Java ".jar" files?  (Read 1180 times)
G Herzog
Newbie
*
Posts: 5


View Profile
Where do I put my Java ".jar" files?
« on: September 12, 2006, 12:51:01 AM »

I have been using the One-Wire Viewer for a few days, but dislike having to download the software from the internet everytime I want to use it.  So I downloaded the .jar files that are suppose to let me use the application without loging on to the net.

My dilemma is that I don't know which directory I should place them it so that the command line will see them and properly start up.  I am trying to set up a 'no brainer' startup for a potential client/new user.

G. Herzog
Logged
logictechs
Administrator
Newbie
*****
Posts: 7


We bring the world to your control logically


View Profile
Re: Where do I put my Java ".jar" files?
« Reply #1 on: September 12, 2006, 09:02:45 AM »

Hi Mr. Herzog,

Here is info about doing this taken from Maxim's iButton website:

Installing OneWireViewer
If clicking on the OneWireViewer JNLP file fails to start the application, right-click on the URL and save the file to your desktop. Then double-click on the file to launch Java Web Start. Now you can delete the *.jnlp file from your desktop. You can then launch the OneWireViewer, first by loading Java Web Start and then by selecting the OneWireViewer.
You can run the OneWireViewer from the command-line (without Java Web Start) like a standard Java application, but the jar files must be downloaded manually. First, install the drivers appropriate for your platform. Then, get OneWireViewer.jar and OneWireAPI.jar and use the following command line:

java -cp "OneWireViewer.jar;OneWireAPI.jar" OneWireViewer

From this info, depending on how your path variable is setup, you should be able to run it from any directory.  If your path variable doesn't include where your java execution program is then you would need to write a simple batch file to run the file in the other directory if you don't want the onewireviewer java file in your java execution program directory.

Let me know if this helps or not.

« Last Edit: September 12, 2006, 02:28:12 PM by logictechs » Logged
G Herzog
Newbie
*
Posts: 5


View Profile
Re: Where do I put my Java ".jar" files?
« Reply #2 on: September 14, 2006, 04:01:44 AM »

Thanks, I'll check to see what the path variable says.
I am assuming this is in the DOS PATH command.

I already did a search for *.jar and found a Java related directory that seems somewhat appropriate.

I do realize that I could do this several ways in a batch file, so I will just fiddle with it until I get what I want.
« Last Edit: September 14, 2006, 04:06:47 AM by G Herzog » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Logic Controlled Technologies Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!