Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Javadoc problem with class version
Javadoc problem with class version [message #250072] Fri, 07 December 2007 04:26 Go to next message
Eclipse UserFriend
Hello guys,

I am using an Eclipse Development Runtime with Java 1.5 but I am
developing for a Java 1.6 target so the compiler is set to 1.6.

If I now want to generate javadoc for the written code the javadoc tool
complains that the class version is Java 1.6 but should 1.5. In the
options of the javadoc wizard I have set jre source compatibility to 1.6.

Is there a way to use the javadoc from the target java version or to use a
different javadoc tool?

Greetings Marko
Re: Javadoc problem with class version [message #250102 is a reply to message #250072] Sat, 08 December 2007 14:50 Go to previous message
Eclipse UserFriend
Marko T. wrote:
> Hello guys,
>
> I am using an Eclipse Development Runtime with Java 1.5 but I am
> developing for a Java 1.6 target so the compiler is set to 1.6.
> If I now want to generate javadoc for the written code the javadoc tool
> complains that the class version is Java 1.6 but should 1.5. In the
> options of the javadoc wizard I have set jre source compatibility to 1.6.
>
> Is there a way to use the javadoc from the target java version or to use
> a different javadoc tool?
>
> Greetings Marko
>
What are exactly your compiler preferences (Compliance level, Source
compatibility, Generated .class files)?

You should align the Javadoc wizard 'JRE Source Compatibility' value with
the value of the compiler 'Source compatibility' preference.

If these values are already the same, perhaps can you try to unset the
Javadoc wizard value (e.g. select the '-' at the top of the drop-down list).
Previous Topic:Programmatically importing a JAR file into an IProject
Next Topic:ResourceChangeListener problems
Goto Forum:
  


Current Time: Fri Apr 18 10:43:09 EDT 2025

Powered by FUDForum. Page generated in 0.04050 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top