JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.06.2020, 12:56
BillyCool BillyCool is offline
Junior Loader
 
Join Date: Sep 2016
Location: Australia
Posts: 11
Default [Tutorial] Running JD via Eclipse/IntelliJ IDEA

Hi everyone,

I recently tried following the official guides on setting up JD locally and I came across a few issues and inconsistencies. I also wanted to use IntelliJ IDEA as it's my preferred IDE, but the official guides only covered Eclipse (would be nice to update). I decided to document my process and I'd like to share with you, in case anyone finds it useful.

That said, my guides are not always as details in certain areas, so I suggest you read both if there's questions. They are also only applicable to Windows users as I TortoiseSVN (already using it for my day to day job and had issues with Subeclipse setup), but if you replace the subversion client, the rest should apply to any OS.

Official guides:
https://jdownloader.org/knowledge/wi...nt/get-started
https://beta.jdownloader.org/developmentquicktutorial

My guides:
- Eclipse: https://docs.google.com/document/d/1...it?usp=sharing
- IntelliJ IDEA: https://docs.google.com/document/d/1...it?usp=sharing

I'm more than happy for anything to be taken to update the official guides. Also, even though I've used Java in the past, I'm a .NET developer, not a Java developer, so I'll only be able to provide limited support if you have any questions on setup or how to use the IDEs.
Reply With Quote
  #2  
Old 06.06.2020, 16:32
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,210
Default

Thankyou BillyCool!
__________________
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 08.06.2020, 19:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,598
Default

@BillyCool: Thank you so much!
I will either update or link (if you are okay with it) your guides as well?

Some remarks:
Quote:
Add -debug in the ‘Program arguments’ field.
-debug has changed to -console
Quote:
Add -n in the ‘Program arguments’ field.
-n should not be used during normal development because you don't want/need several JDownloader instances at the same time, do you?
Quote:
Add -Xmx512m in the ‘VM Arguments’ field. This is used to get around a memory error on startup.
-Xmx512m limits heap to 512mbyte. you should not get any memory errors on startup even without this parameter?!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 08.06.2020, 19:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,598
Default

@BillyCool: In case you want to commit your changes/bugfixes/new plugins, please feel free to contact us via support@jdownloader.org
__________________
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 17:57.
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 - 2020, Jelsoft Enterprises Ltd.