Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Javadoc question

Thread view: 
Adonis Vargas - 01 Sep 2007 03:26 GMT
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
Adonis Vargas - 01 Sep 2007 03:51 GMT
> When I attempt to generate documentation with Javadoc, I get an
> "identifier error" because of the HashMap<String, Object>. Is there
[quoted text clipped - 4 lines]
>
> Adonis Vargas

Nevermind, I was using the wrong javadoc executable. Using Java 1.3
instead of Java 1.6.

Adonis Vargas
Roedy Green - 01 Sep 2007 04:11 GMT
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.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Adonis Vargas - 01 Sep 2007 20:31 GMT
> On Fri, 31 Aug 2007 22:51:24 -0400, Adonis Vargas
> <adonisv@REMOVETHISearthlink.net> wrote, quoted or indirectly quoted
[quoted text clipped - 5 lines]
> 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
Lew - 01 Sep 2007 21:36 GMT
> 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
[quoted text clipped - 3 lines]
> 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>

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.