#1
|
|||
|
|||
Setting up a JD development environment
I hope this is the right forum since my problem is very general. Else please point me to the correct forum.
I followed http://jdownloader.org/knowledge/wik...nt/get-started to set up a development environment. What I did: - install Eclipse Kepler (last one with a dedicated version "for Java Developers"?) - Install Java JDK (version 1.8.0.112) and select it as default - install Subclipse - check out the four repositories - change settings for /JDownloader/src/org.jdownloader.startup/Main.java - click "run" But there seem be be lots of errors. The "errors" tab says: "errors (100 of 12725)" and also lots of warnings. If I still click on "run" I get: Exception in thread "main" java.lang.Error: Unresolved compilation problems: The type new JsonSerializer<JsonFactoryInterface>(){} must implement the inherited abstract method JsonSerializer<JsonFactoryInterface>.toJSonString(Object) The method toJSonString(JsonFactoryInterface) of type new JsonSerializer<JsonFactoryInterface>(){} must override or implement a supertype method at org.jdownloader.startup.Main.main(Main.java:210) Is it a problem with the JDK (is Java 8 supported?) The tutorial mentions Java 6 but that looked very much outdated. Or did I miss some dependencies? Or what else might have gone wrong? As you might have guessed I am not really a Java developer but did some coding in other languages and I think I can do minor changes and fixes. Thanks for any help Harry |
#2
|
||||
|
||||
Java 8 is supported and works, I'm using Oracle JDK 1.8.0_112
I use Eclipse Neon.2 have you looked at the bottom of the getting started guide to known issues? If you need further help I can provide over teamviewer. Jump our online chat http://jdownloader.org/knowledge/chat and find myself and ask for Teamviewer session raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
Either join chat and we will help you setup the workspace via Teamviewer or conact us via support@jdownloader.org
JDownloader runs with 1.6-1.8 and experimental support for 1.9 I guess you have set wrong java version in eclipse project. Via Teamviewer we will be able to help you very fast.
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
Thanks a lot, it is working now. Java version should have been correct but my Eclipse seemed to be too old.
raztoki and coalado did a great job getting me up and running! I tried it with a minor change (add avxhome.unblocked.onl to the decrypter, since avxhome.se and .in is blocked by my provider) and it worked great. |
#5
|
||||
|
||||
You can request svn write access (see end of this article, http://jdownloader.org/knowledge/wik...nt/get-started ) and then commit your changes yourself
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
Thanks for the feedback! Glad you could get it working
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|