Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

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

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
j_script
Asked:
j_script
1 Solution
 
girionisCommented:
 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
 
j_scriptAuthor Commented:
OK ! Then, how about removing it from the VM ?
0
 
objectsCommented:
afaik you have to restart the VM.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
j_scriptAuthor Commented:
How do I restart VM ?
0
 
objectsCommented:
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
 
NetminderCommented:
Force-accepted.

Netminder
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now