Solved

File version for JRE

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Base1 Encode/Decode 3 67
Java SE 8u111  Lot of stuff broke 11 53
Recursively Delete Files 5 65
fibonacci ten numbers 4 24
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

914 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

19 Experts available now in Live!

Get 1:1 Help Now