[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

On 05-Apr-12 10:52, Jaldhar H. Vyas wrote:
> I was able to on Jan 30, when I built the package.
> > I think that it is a bug if a source package cannot be compiled.
> Oh definitely.  The question is why can I do it and you can't?

My fault, it was a problem with my setup. I have 4 different j2sdk
versions installed in parallel and I did not make the correct 
changes to debian/rules to make the compilation work with one of 

I tried it a few more times and finally managed to compile the 
package by just changing the classpath and the javac command in
debian/rules to

$(JAVA_HOME)/bin/javac -classpath $(JAVA_HOME)/jre/lib/plugin.jar [...]

and pointing $(JAVA_HOME) to the appropriate directory. Maybe you
could introduce 'JAVA_HOME' in debian/rules to make this easier?

Or even 'JAVA_HOME_DIRS' with the default directories from the 
standard 'java-package' j2sdk1.4 packages preset?

Thank you for your fast reply and sorry for the noise.

Andreas Jochens

Reply to: