Solved

How do I put/remove my class into VM thru code ?

Posted on 2002-06-19
6
158 Views
Last Modified: 2010-03-31
I have a jar file called test.jar.
I will set the jar path in Classpath.

How do I use java code to put/remove that jar
to/from VM ? So, I don't have to reboot my PC.
0
Comment
Question by:j_script
[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
6 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 7094124
 What exactly do you mean? You do not have to restart your computer every time you change your classpath. It should pick it up automatically every time you try to run a java application.

  Hope it helps.
0
 

Author Comment

by:j_script
ID: 7094640
OK ! Then, how about removing it from the VM ?
0
 
LVL 92

Accepted Solution

by:
objects earned 200 total points
ID: 7094647
afaik you have to restart the VM.
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

Author Comment

by:j_script
ID: 7094778
How do I restart VM ?
0
 
LVL 92

Expert Comment

by:objects
ID: 7094785
If its an applet then restart the browser.
If it's an application then just restart the application.
If it's a servlet then restart the container.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 8581096
Force-accepted.

Netminder
EE Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

728 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