-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Copy embedded JRE to user home and reuse it #1410
Comments
Another option, not sure whether it is feasible, would be copying the provided JRE to users home (something like C:\Users<user>.iped\jre), in Windows machines. Using the installed JRE is good, but nowadays there are many versions around, so finding a compatible JRE (11 with JavaFX) won't be very likely, except in controlled machines. |
Good idea. That could be used for the second process in the bootstrap, but I think for the first one, the embedded JRE would still have to be used. |
@lfcnassif, is the JRE choice currently controlled by the launch4j configuration? |
yes
Sure!
They are attached below, there is one for processing and other for analysis. Maybe newer Launch4j versions could have more useful options.
I totally agree. |
PS: AFAIK one Launch4j limitation is that it can't check for JavaFX. |
Thanks @lfcnassif! I will take a closer a look and let you know if I find anything useful. |
Launch4j supports multiple bundled JRE paths, which is great! After a few hours struggling here, I found out it is not working properly due to a bug in Launch4j, which was not so great :-) As the fix seems trivial, I will try to build it from source. |
I saw that but didn't check if env vars would work, great!
Thank you for your valuable time @tc-wleite. |
Sorry, I hit the wrong button. |
Environment variables are supported and working fine. |
Something like %WORKINGDIR% works? |
%EXEDIR% worked! |
Great! |
Just a thought, another related idea is to also copy iped/lib folder to user home. To not bloat user home with lots of IPED versions, a compatibility schema could be used, obviously this would put more maintenance effort on our side... Probably this is not needed at all after #1420 is integrated. Actually, one of my ideas to #1341 is to allow opening cases from the Case creation/config UI and maybe creating a new option, the opposite of --portable, to don't copy libs and tools to the case folder, this would be useful for cases analyzed by examiners end-to-end. |
As discussed recently on #622
The text was updated successfully, but these errors were encountered: