JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.05.2016, 02:20
netizenk netizenk is offline
Baby Loader
 
Join Date: Apr 2011
Posts: 8
Default Flashgot opening JDownloader 2 (jar) instances for every link

Using JDownloader.jar instead of the executable Flashgot FF Add-on keeps opening new instance of JDownloader every time I click on Flashgot link. Since I didn't install JDownloader it is not recognized by Flashgot so I had to add JDownloader.jar as new Download Manager and use it in the path to Executable. Is there a switch I can add after JDownloader.jar to enforce single instance or any other way to prevent Flashgot from opening multiple instances?

Reply With Quote
  #2  
Old 06.05.2016, 05:36
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,301
Default

We have a switch but to allow multiple instance, as our default behaviour is not to allow it.

I would advise you remove JD outside of program files path, it could be that JD can not save content like a 'lock/port/pid' files. These files are used for various reasons for example, pid file will show the pid number of running program. Modern Windows operating system can heavily protect the program files directories, this is the main reason windows installers install to %localappdata% for windows vista/seven/eight/ten, and %appdata% for xp.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 06.05.2016, 07:23
netizenk netizenk is offline
Baby Loader
 
Join Date: Apr 2011
Posts: 8
Default

Moved it to %APPDATA% Local and now it works fine... thanks.
Reply With Quote
  #4  
Old 06.05.2016, 07:49
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,301
Default

great =]

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 06.05.2016, 11:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Just a note. JDownloader needs write permission to its folder and network permissions to communicate between multiple instances to avoid starting a new instance every time
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 22:41.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.