View Single Post
  #1  
Old 08.01.2017, 11:25
harry61 harry61 is offline
DSL Light User
 
Join Date: Jan 2017
Posts: 33
Default 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
Reply With Quote