JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.06.2020, 12:56
BillyCool BillyCool is offline
Super Loader
 
Join Date: Sep 2016
Posts: 28
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: docs.google.com/document/d/1FpbIR_nFFZlDPmu2lZnBGeQVUfJUdWKYUB19-_nRoQs/edit?usp=sharing
- IntelliJ IDEA: docs.google.com/document/d/1gJll61KIgNEQkNDJ5xHdUgwZlQ2R2NbvBW1bqQkdRD0/edit?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.

Last edited by notice; 12.04.2023 at 11:40.
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,684
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: 81,675
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: 81,675
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
  #5  
Old 18.03.2022, 14:50
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,767
Default

@BillyCool
I've updated our Developer IDE setup instructions.
The new instructions can be found here while the old ones will soon point to the new ones.
Feedback on it is welcomed.

I decided to stick to using "Subclipse" to add SVN capabilities to Eclipse especially because the installation is now easier than in the old way.
Back then Eclipse did not have this "Eclipse Marketplace".

If you want I can link your IntelliJ too.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #6  
Old 08.04.2023, 13:11
jaydee jaydee is offline
Registered / Inactive
 
Join Date: Apr 2023
Posts: 2
Default

I'd like to check these IntelliJ dev guides out, but unfortunately they're

Quote:
only visible to Support Staff
Could they be shared somewhere so that devs that prefer IntelliJ can get started quicker?

Thank you in advance.
Reply With Quote
  #7  
Old 08.04.2023, 13:52
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,684
Default

https:
//docs.google.com/document/d/1gJll61KIgNEQkNDJ5xHdUgwZlQ2R2NbvBW1bqQkdRD0/edit?usp=sharing
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 08.04.2023, 14:21
jaydee jaydee is offline
Registered / Inactive
 
Join Date: Apr 2023
Posts: 2
Default

Thank you very much, got it. Hope it helps others too, maybe it should be considered to be included on the official page.
Reply With Quote
  #9  
Old 11.04.2023, 21:48
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,767
Default

@jaydee
Good idea!
I've created a "dummy support article" which is linking the IntelliJ article from BillyCool.
You can find the mentioned article here.

@BillyCool:
Thanks again for your instructions.

your Eclipse instructions shouldn't be needed anymore as we've updated our own Eclipse support article some months ago and it should still be up2date.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
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 03:35.
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 - 2025, Jelsoft Enterprises Ltd.