Skip to main content

Can't compile JDIC Source code, any ideas?

1 reply [Last post]
nshahi08
Offline
Joined: 2008-11-28

Hi,
I downloaded jdic20061102 from the website, and have been trying to build the source code through eclipse. Here's the error that I get:

<br />
buildall:<br />
init:<br />
    [mkdir] Created dir: C:\Documents and Settings\nshahi\Desktop\jdic-20060613-src\src\jdic\dist\windows<br />
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++<br />
     [echo] + JDIC API build version 2006 release 0308<br />
     [echo] + The distribution directory is: .\dist\windows\<br />
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++<br />
buildwin32jar:<br />
    [javac] Compiling 58 source files to C:\Documents and Settings\nshahi\Desktop\jdic-20060613-src\src\jdic\dist\windows<br />
    [javac] C:\Documents and Settings\nshahi\Desktop\jdic-20060613-src\src\jdic\src\share\classes\org\jdesktop\jdic\init\JdicManager.java:195: findLibrary(java.lang.String) has protected access in com.sun.jnlp.JNLPClassLoader<br />
    [javac] 			String jdicLibURL = jnlpCl.findLibrary("jdic");//get lib path by classloder<br />
    [javac]                                                   ^<br />
    [javac] 1 error<br />

I have tried compiling with jdk1.5.0_06, jdk 1.5.0_16 and jdk1.6.0_10, and get the same error every time. What I need to do is build jdic.jar and use it in my project. I read carefully through the readme file provided in the source code directory and have installed all the necessary software for windows xp. I haven't been successful in building the mozilla source code, but not sure if that's what's causing this error. Is there anything I can do to eliminate this?
If anyone has any suggestions, I would really appreciate it. I'm new with using jdic, and have a project to deliver.
Thanks!

P.S: I tried jdic20060613 source code and I get the same error.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jsnodgrass
Offline
Joined: 2006-12-07

You need to add javaws.jar to your classpath.