• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Error running javaws.exe "The directory name is invalid" - Permissions issue?

am attempting to run a VPN client for Sabre. Once I installed their VPN client (installing JRE 1.5 + their custom icon) I am unable to successfully launch the VPN using the desktop icon as a power user in an active directory network environment, however as an admin it works fine.

C:\Program Files\java\jre1.5.0_11\bin\javaws.exe "The Directory name is Invalid" <----Error message I get when I launch VPN.

This is what the target location says - "C:\Program Files\Java\jre1.5.0_11\bin\javaws.exe" http://sabrevpn.sabre.com/vpnclient/sslvpn-tn.jnlp

Now I have enabled access for our limited users by adding their group with modify access to the c:\program files\java folder and still I get this error. Any idea what this could be?!

Thanks in advance.


Woah.. I'm still here?
Staff member
Political User
Hi Scott..

If you wouldn't mind sharing the answer for the benefit of the rest of the community, it would be appreciated :)

I didn't post it because I was a little embarrassed! Anyway, the shortcut I was launching did not have the "Start In" field populated and thus when ran as a regular user could not find the path to the javaws.exe however I am still perplexed that my admin account could bypass this issue and launch it successfully?


Woah.. I'm still here?
Staff member
Political User
it's possible the admin account had the path to the javaws.exe set in the environment variable while the local account did not..

In any case, we all overlook the sometimes simple issues because we are looking for something a little more complex.. don't sweat it. :)

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
What a long strange trip it's been. =)

Forum statistics

Latest member