We help IT Professionals succeed at work.
Get Started

Java and Linux and relative paths

Anthony Lucia
on
502 Views
Last Modified: 2014-05-25
I had previously asked a similar question, but I need to ask it again more clearly, as I am having problems understanding.

I read the following concerning passing parameters to java:

In Linux, do not use absolute path....... in some setups passing -Djavax.net.ssl.keyStore=/home/account/.keystore to Java VM does not work. ......

Open in new window


from this site:

http://activemq.apache.org/how-do-i-use-ssl.html

So apparently, in some setups running Java on Linux, you can not pass an absolute path to Java with the -D option.

Is this true?

What setups are those

Is there an easy way to tell if my setup will accept an absolute path or if I am required to pass a relative path ?

Thanks
Comment
Watch Question
IT Business Systems Analyst / Software Developer
CERTIFIED EXPERT
Top Expert 2015
Commented:
This problem has been solved!
Unlock 2 Answers and 8 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE