Solved

File version for JRE

Posted on 2006-10-19
1
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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 is about my first experience with programming Arduino.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Simple Linear Regression

632 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