Solved

File version for JRE

Posted on 2006-10-19
1
280 Views
Last Modified: 2013-11-23
OUr application is run on the JDK environment. We specify the java classpath.
Our client questions us why the applicatin cannot be run on the JRE environment.

NOtes. some jar files are downloaded from other web sites, such as Oracle, Hibernate,etc.

In sun web site, the file we download for jre is a .exe file. not a file version. In this case, how do i change the classpath and manually add external jar file to the classpath?

0
Comment
Question by:LeanMoreTryMore
1 Comment
 
LVL 23

Accepted Solution

by:
basicinstinct earned 200 total points
ID: 17771658
manually setting the classpath is not hard, you can do it at the command line using the SET command

1. Open a command prompt (start/run/cmd)
2. Type the following command (replace C:\wherevever\something\somewhere with the real path to your jars):

     set CLASSPATH=%CLASSPATH%;C:\wherevever\something\somewhere

OR you can do it through a GUI:

1. On your keyboard, hit "Windows Key" + "Break"
2. Go to the "Advanced" tab.
3. Click on "Environment Variables"
4. Double-click CLASSPATH and make your changes.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Query Syntax 17 43
Java: The Public Class Main 4 34
ejb entity bean example 2 17
junit as external jar or library 7 24
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to implement Singleton Design Pattern in Java.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question