Starting windows bundle from network-drive use not included JRE?

Multi tool use
I bundle a java program by using install4j and put the jre into the bundle as it is possible with install4j.
At our company we have the situation that every user must use a network share e.g. drive X: on windows where they start the java programm by using the EXE produced by install4j.
When we check with the process explorer on windows if the JRE is used or not we see that the local JRE of the machine is used and not the one from the drive X:
any experience?
java install4j network-drive
add a comment |
I bundle a java program by using install4j and put the jre into the bundle as it is possible with install4j.
At our company we have the situation that every user must use a network share e.g. drive X: on windows where they start the java programm by using the EXE produced by install4j.
When we check with the process explorer on windows if the JRE is used or not we see that the local JRE of the machine is used and not the one from the drive X:
any experience?
java install4j network-drive
You can execute the launcher from the command line with the argument/create-i4j-log
to get a log file that contains information about the JRE search sequence.
– Ingo Kegel
2 days ago
add a comment |
I bundle a java program by using install4j and put the jre into the bundle as it is possible with install4j.
At our company we have the situation that every user must use a network share e.g. drive X: on windows where they start the java programm by using the EXE produced by install4j.
When we check with the process explorer on windows if the JRE is used or not we see that the local JRE of the machine is used and not the one from the drive X:
any experience?
java install4j network-drive
I bundle a java program by using install4j and put the jre into the bundle as it is possible with install4j.
At our company we have the situation that every user must use a network share e.g. drive X: on windows where they start the java programm by using the EXE produced by install4j.
When we check with the process explorer on windows if the JRE is used or not we see that the local JRE of the machine is used and not the one from the drive X:
any experience?
java install4j network-drive
java install4j network-drive
asked 2 days ago
user1994378
62
62
You can execute the launcher from the command line with the argument/create-i4j-log
to get a log file that contains information about the JRE search sequence.
– Ingo Kegel
2 days ago
add a comment |
You can execute the launcher from the command line with the argument/create-i4j-log
to get a log file that contains information about the JRE search sequence.
– Ingo Kegel
2 days ago
You can execute the launcher from the command line with the argument
/create-i4j-log
to get a log file that contains information about the JRE search sequence.– Ingo Kegel
2 days ago
You can execute the launcher from the command line with the argument
/create-i4j-log
to get a log file that contains information about the JRE search sequence.– Ingo Kegel
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53944985%2fstarting-windows-bundle-from-network-drive-use-not-included-jre%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
add a comment |
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
add a comment |
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
Thx!
I check this with your cmd argument and get errors.
[9:280] unpack done
[9:285] could not delete packed file (error 5)
[9:286] checking x:applmyappsappjrelibdeploy.jar
[9:287] x:applmyappsappjrebinunpack200.exe
[9:288] -r "x:applmyappsappjrelibdeploy.jar.pack" "x:applmyappsappjrelibdeploy.jar"
[9:300] waiting for unpack200 to finish
[9:383] unpack done
[9:387] could not delete packed file (error 5)
....
**x:applmyappsapp has write protection.**
This happens 18 times for other jar files in the JRE too.
....
[11:25] Unpacking JRE done
[11:27] checkJavaExe (g:applmyappsappjrebinjava.exe, [out], 2, 2, 1)
[11:28] file exists
[11:29] tempPath is C:UsersmyuserAppDataLocalTemp
[11:30] tempFile is C:UsersmyuserAppDataLocalTempe4j4DF8.tmp
[11:672] Exit Code 1
[11:674] couldn't get version
[11:675] checkJavaExe returning 0
[11:677] Testing location (type Y)
[11:678] checkJavaExe (C:Program Files (x86)Javajrebinjava.exe, [out], 2, 2, 0)
[11:679] file exists
...starting from now I see that the local JRE is used...
Why happen this? Write protection? Wrong install4j config?
edited yesterday
answered yesterday
user1994378
62
62
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53944985%2fstarting-windows-bundle-from-network-drive-use-not-included-jre%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
DRvhk iqk12cU0yXS1JxpVghC9ev5yVBTSz0UX,kYQIfg,rDdamfZ8izTanXq
You can execute the launcher from the command line with the argument
/create-i4j-log
to get a log file that contains information about the JRE search sequence.– Ingo Kegel
2 days ago