Javadoc question - Java
This is a discussion on Javadoc question - Java ; When I attempt to generate documentation with Javadoc, I get an
"identifier error" because of the HashMap<String, Object>. Is there
anyway to get around this? I tried to google it, but my fu does not
yield anything useful.
Any help ...
-
Javadoc question
When I attempt to generate documentation with Javadoc, I get an
"identifier error" because of the HashMap<String, Object>. Is there
anyway to get around this? I tried to google it, but my fu does not
yield anything useful.
Any help is greatly appreciated.
Adonis Vargas
-
Re: Javadoc question
Adonis Vargas wrote:
> When I attempt to generate documentation with Javadoc, I get an
> "identifier error" because of the HashMap<String, Object>. Is there
> anyway to get around this? I tried to google it, but my fu does not
> yield anything useful.
>
> Any help is greatly appreciated.
>
> Adonis Vargas
Nevermind, I was using the wrong javadoc executable. Using Java 1.3
instead of Java 1.6.
Adonis Vargas
-
Re: Javadoc question
On Fri, 31 Aug 2007 22:51:24 -0400, Adonis Vargas
<adonisv@REMOVETHISearthlink.net> wrote, quoted or indirectly quoted
someone who said :
>Nevermind, I was using the wrong javadoc executable. Using Java 1.3
>instead of Java 1.6.
could you please quote precise error message. I collect strange error
messages and their true meanings for the Java glossary.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
-
Re: Javadoc question
Roedy Green wrote:
> On Fri, 31 Aug 2007 22:51:24 -0400, Adonis Vargas
> <adonisv@REMOVETHISearthlink.net> wrote, quoted or indirectly quoted
> someone who said :
>
>> Nevermind, I was using the wrong javadoc executable. Using Java 1.3
>> instead of Java 1.6.
>
> could you please quote precise error message. I collect strange error
> messages and their true meanings for the Java glossary.
Sure
..\src\com\blah\database\Manager.java:15: Identifier expected.
private HashMap<String, Properties> profiles = new
HashMap<String, Prope
rties>();
^
1 error
This is the only thing Javadoc (Java 1.3) dumped, aside from the status
messages. I googled a bit more and found out that it was the wrong
Javadoc version, which being that I used Java 1.6 generics, which is
obviously not present in Java 1.3. On my computer at work I have 4
versions of jre/jdk installed for the various Java enviroments we use.
And in the PATH I have Java 1.3 as the default bin directory because the
most important applications I use require this version.
Adonis Vargas
-
Re: Javadoc question
Adonis Vargas wrote:
> This is the only thing Javadoc (Java 1.3) dumped, aside from the status
> messages. I googled a bit more and found out that it was the wrong
> Javadoc version, which being that I used Java 1.6 generics, which is
> obviously not present in Java 1.3. On my computer at work I have 4
> versions of jre/jdk installed for the various Java enviroments we use.
> And in the PATH I have Java 1.3 as the default bin directory because the
> most important applications I use require this version.
On some systems, notably various Linuxen, there is the "alternatives"
mechanism, that allows one to manage multiple executables for the same service.
/usr/sbin/alternatives
man 8 alternatives
<http://linux.die.net/man/8/alternatives>
--
Lew
Similar Threads
-
By Application Development in forum Java
Replies: 5
Last Post: 08-09-2007, 09:41 PM
-
By Application Development in forum Java
Replies: 0
Last Post: 04-14-2005, 05:41 PM
-
By Application Development in forum Java
Replies: 2
Last Post: 03-28-2005, 01:09 PM
-
By Application Development in forum Java
Replies: 0
Last Post: 05-24-2004, 05:56 AM
-
By Application Development in forum Java
Replies: 1
Last Post: 05-23-2004, 08:56 PM