Improve company productivity with a Business Account.Sign Up

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

Setting VM arguments in Apache Tomcat

I wrote a stand alone java program which takes in the command line arguments
 -Djava.library.path="E:\Downloads\someFolder". My stand alone program loads a .dll file in that folder path I mentioned in the args. I mentioned the path in Eclipse. That piece of java code which loads a .dll file has to be run on the server now. I am using Apache Tomcat. Where do I specify the arguments?
0
supreeths84
Asked:
supreeths84
  • 2
1 Solution
 
supreeths84Author Commented:
I placed the .dll file in the bin directory of Apache Tomcat and it solved the problem.
0
 
supreeths84Author Commented:
After placing the .dll file in the bin directory of Tomcat, I was able to load the system library
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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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