开发者

Permissions in Windows 7 java unrecognizable in batch

I wrote a program to make a graphical Timeline and it works through some VBA and Java through the shell, but after transfering it over to Windows 7 from Vista I cannot seem to find a place to save the files so that the java program can access them. Please Help me. Where can I save the files such that I can h开发者_运维技巧ave the java program access them and not throw an exception and blow up the program? Update Now whenever I try to shell the java program I get a file not found exception runtime error 53 and it's on the shell call

Permissions in Windows 7 java unrecognizable in batch

Error that appears after calling java out of batch out of vba out of excel Some reason it won't let me do this.


If you're targetting Windows Vista/7, you can build an EXE from a JAR file that has a certain manifest in it that makes the EXE require admin rights. This way, file I/O will always execute with the correct userrrights!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜