java -jar in batch file fails on windows network drive

N

NetKev

I have a simple batch file that says: java -jar myfile.jar
in order to make it less confusing for certain people who run my
program. If this batch file and jar reside on my local windows disk
then it just works. However, if I move the same files to my R:\ drive
which is a networked drive, then two things happen.
1.)Warning from M$ that this batch file is not signed, are you sure you
want to run this file?
2.)an error that says bad command or file name or access was denied. I
have full control over this share as far as permissions go.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,121
Latest member
LowellMcGu
Top