#1
|
|||
|
|||
New Java update, and now I need a new .exe launcher for JD2, for StrokeIt...
Hi Jiaz, in reference to this thread...
https://board.jdownloader.org/showthread.php?t=65126 ...you told me to email you if I needed a custom .exe launcher for the .jar version of JD2. Well, I haven't needed it yet, because I've been using the .exe launcher from JD1 for JD2, and it has been working fine. Until today, I updated Java and now whenever I start JD2 via the JD1 .exe, I get a popup that says... "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. The system cannot find the file specified." ...so I'm forced to use the .jar launcher for now. Note that I downloaded the "(MULTIOS JAR without Installer)" for portable, and I need an .exe because my StrokeIt mouse gesture program requires it. I'm trying to make a mouse gesture to launch JD2 and it only supports .exe. I'm on Win7 x64, but I think the .jar JD2 is x86. Due to the new Java update, do you now need to update JD2 to be compatible with the JD1 .exe launcher again? Or can you still make me a working .exe launcher? Last edited by TsunamiZ; 01.08.2016 at 11:06. |
#2
|
||||
|
||||
I suggest to install JDownloader 2 again. It seems you are using old launcher that suffers from missing registry entry.
Simply backup your cfg folder. Remove JDownloader, install it again from http://jdownloader.org/jdownloader2 and then restore the backup of your cfg folder.
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
It is the old JD1 Launcher that has the problem, not the JDownloader 2 one
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
in reference to my previous post in my previous thread...
https://board.jdownloader.org/showpo...1&postcount=10 ...last time i tried using the .exe from JD2, it didn't work for launching my portable .jar version of JD2--it gave me an error message when trying to run it. due to this issue, can you update JD2 to work for this, or can you still make me a working .exe launcher for this? |
#5
|
|||
|
|||
i've noticed now that the error message isn't just triggered by the .exe from JD1. it is also triggered everytime after performing a JD2 update when JD2 restarts itself. JD2 now fails to restart itself properly after an update, i get that message, and I have to manually launch JD2 from the .jar.
remember, this error message started happening after the recent java update. it seems like a compatibilty issue with the portable .jar version of JD2. can you fix this? |
#6
|
||||
|
||||
installed version is portable, as in you can copy paste it to another device and it will work (either from the binary launcher assuming its the same OS family and bitrate, or from JDownloader.jar). The only thing installers do is provide binary loaders (exe) for specific operating systems along with shortcuts and uninstall references.
As Jiaz recommended, just install JDownloader 2.0 again and problem should be resolved. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#7
|
|||
|
|||
@raztoki
actually, there is more than one problem, and it seems to be related to incompatibility of .jar JD2 with the latest java version. refer to my previous post... https://board.jdownloader.org/showpo...49&postcount=5 |
#8
|
||||
|
||||
I read your post, hence why I gave the response I did.
I run a couple of my JDownloader test installs from jar exclusively and works fine on the latest version of Java 101 and 102 and their is no incompatibility issue. 'seems like' is far from conclusive proof? raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#9
|
|||
|
|||
@raztoki
well, i have never installed JD2 on my system. so my system doesn't have any registry entries from a JD2 installation. i've only used the portable .jar version. since this seems to be a registry related issue, maybe that's why it works fine on your system, but not mine. |
#10
|
||||
|
||||
I've never installed it either (other than on Mac, used .app), I run inside of IDE or copies of versions I have had for years.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#11
|
|||
|
|||
Quote:
can one of you developers send me the 32 bit .exe from JD2? send to sendspace.com . Last edited by TsunamiZ; 27.07.2016 at 22:32. |
#12
|
||||
|
||||
jars are not bit rate specific only the binary loaders (exe's)
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#13
|
|||
|
|||
i did more testing and i discovered the reason why i get the error message on JD2 restart. it is because i kept the .exe from JD1 in the directory. apparently JD2 prefers to restart itself from an .exe if it exists. so that puzzle is solved.
the only other issue now is to get the "(MULTIOS JAR without Installer)" version of JD2 to start from an .exe. my .exe from old JD1 doesn't work anymore, due to the new java update. so i need to try again with the current .exe from JD2. can one of you devs upload me the 32 bit .exe from JD2? please upload to sendspace.com and post the link. |
#14
|
|||
|
|||
ok, i managed to get JDownloader2.exe from someone [not sure if 32 or 64 bit]. i tried to use it to launch my portable .jar version of JD2 and i get this error message...
...so it seems JDownloader2.exe still won't launch the .jar version. so i now need a custom .exe to launch the .jar version of JD2. jiaz originally offered to do this for me before, but that was awhile ago, as seen in the last post of my previous topic... https://board.jdownloader.org/showthread.php?t=65126 can anyone of you devs make me one? or better yet, officially add such an .exe to the portable .jar version, for the sake of compatibility with macro programs, such as strokeit. Last edited by TsunamiZ; 28.07.2016 at 11:23. |
#15
|
||||
|
||||
Why not simply start it with JDownloader.jar ?
You don't need a .exe launcher for it.
__________________
JD-Dev & Server-Admin |
#16
|
||||
|
||||
You don't need an exe, though he claims he does, but its a miss understanding
@TsunamiZ your java isn't installed right ? as in you have portable Java? you then need to supply the FULL path to javaw.exe Code:
"c:\java\bin\javaw.exe" -jar "c:\JDownloader\JDownloader.jar" Code:
'EXE4_J_JAVA_HOME="C:\Program Files\jre1.8.0_111\jre\bin"' Code:
C:\ProgramData\Oracle\Java\javapath these links point to path\binary.exe
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 28.07.2016 at 14:51. |
#17
|
|||
|
|||
my java is from a normal install and it works fine.
as mentioned in my first post and topic title... Quote:
previously, i was using the old .exe from JD1 and it worked fine for this--until the recent java update, which introduced an error message. so now i need a custom .exe to be able to launch the .jar version of JD2 via my strokeit mouse gesture program. can anyone of you devs make me one? or better yet, officially add such an .exe to the portable .jar version, for the sake of compatibility with macro programs, such as strokeit. |
#18
|
||||
|
||||
_**External links are only visible to Support Staff**
__________________
FAQ: How to upload a Log |
#19
|
|||
|
|||
as i mentioned before, my java works fine. that error only happens with the .exe from JD2 when i try to use it for the .jar version--which isn't made to work for the .jar version.
so now i need a custom .exe to be able to launch the .jar version of JD2 via my strokeit mouse gesture program. can anyone of you devs make me one? or better yet, officially add such an .exe to the portable .jar version, for the sake of compatibility with macro programs, such as strokeit. |
#20
|
||||
|
||||
I understand, and since no one had given you that "custom .exe", you can do it yourself, customize your EXE4J by following the link that I posted. JD2 .exe needs something else, can not run by itself + .jar. I would call it starter pack.
I have a starter pack but for 32 bit Windows, not 64.
__________________
FAQ: How to upload a Log |
#21
|
|||
|
|||
as i mentioned before...
Quote:
can anyone of you devs make me one? or better yet, officially add such an .exe to the portable .jar version, for the sake of compatibility with macro programs, such as strokeit. |
#22
|
||||
|
||||
@TsunamiZ
Still think you can get what you already have working, by fixing up your system variables. alternatively I don't understand why you don't just grab installer, install, grab the binaries you want, then uninstall if you rather not have it installed. You could have solved this yourself a week ago. none of us supporters have the ability to give you binaries assuming we don't already have it installed (as stated earlier, I don't). The binary loaders are provided by the installer software/provider. For us to give them to you we would have to do the exact same thing you would as in install. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#23
|
|||
|
|||
because having to go through the hassle of install/uninstall in order to make a portable, really defeats the purpose and simplicity of a portable version, such as the .jar version. true portable versions are just extract and go. addressing my request, by making a custom .exe for the .jar version, would also help anyone else in my similar position in the future, without having to consult the forum again for a more inconvenient workaround.
jiaz originally offered to do this for me before, but that was awhile ago, as seen in the last post of my previous topic... https://board.jdownloader.org/showthread.php?t=65126 ...and my current topic is originally addressed to jiaz. so now that i have my situation fully explained, i want to hear from jiaz to see if he is still up for it... |
#24
|
||||
|
||||
Our multi-os download doesn't come with binaries loaders and never has. I don't foresee us providing them either, to be honest. Specially just for the sake of a 3rd party piece of software that has requirement to execute exe.
Did you email him like stated within his last response?
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#25
|
|||
|
|||
i haven't emailed jiaz. originally, i didn't need it because i was able to use the old .exe from JD1 for this. but now that the recent java update broke the old .exe, i do need a new one afterall. this topic was addressed to him, so it is my attempt to contact him for this.
|
#26
|
||||
|
||||
just email him on the address mentioned in your previously referenced thread, he will respond next business day. He checks emails more regularly than forum.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#27
|
||||
|
||||
I've replied via E-Mail. Either try to use/create a batch file (as Strokeit does support .bat files) or create your own launcher with launch4j
__________________
JD-Dev & Server-Admin |
#28
|
|||
|
|||
thanks for the solution, jiaz! i used the .bat file method because it was easier.
here it is for anyone else who might need it... Quote:
Quote:
Last edited by TsunamiZ; 18.08.2016 at 04:52. |
#29
|
||||
|
||||
Thanks for the feedback Glad I could help you
__________________
JD-Dev & Server-Admin |
#30
|
|||
|
|||
hey jiaz, in the email, you mentioned you might include standalone launchers in the future. that would still be a welcomed improvement, since it will eliminate this issue altogether for anyone else who might encounter it in the future.
i would be glad to get a notification if/when implemented. |
#31
|
||||
|
||||
Can't promise that I will ping you, but I will try
__________________
JD-Dev & Server-Admin |
#32
|
|||
|
|||
edited my solution post above, to include a workaround for a bug with strokeit
|
#33
|
||||
|
||||
Thanks for the update!
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|