• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jar file loading....  RSS feed

 
Hardik Raja
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 hosts connected over a network....

I have transferred an Executable jar file from one host to the other and the jar file now exists on the destination host filesystem.

Is there any mechanism to load this jar file in destination host JVM, from within the source code ?

Please revert back if you need any other information

Can anyone please give their suggestions on the above problem.Thank you in advance.

Regards,
Hardik.S.Raja
 
Srikanth Ramu
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use java.net.URLClassLoader to load classes from the given jar files that are not in the classpath
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!