Solved

File version for JRE

Posted on 2006-10-19
1
275 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now