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 / Tools / October 2005

Tip: Looking for answers? Try searching our database.

Help with lint4j

Thread view: 
Miki - 26 Oct 2005 15:25 GMT
Hello All,

I'm trying to use lint4j on windows without success.
I have one file "hw.java" in a directory and I'd like lint4j to find
any errors in it.

If I run:
C:\cygwin\tmp\hwj>c:\miki\src\lint4j-0.9\bin\lint4j.bat -home
c:\miki\src\lint4j
-0.9 -javahome c:\j2sdk1.4.2_09 -v 5 -sourcepath c:\cygwin\tmp\hwj
-classpath c:
\cygwin\tmp\hwj  hw.java

I get:
Please add the following types to your classpath for full analysis:
[hw]

What does it mean and how do I call lint4j correctly?

Thanks.
Miki
Frank Langelage - 26 Oct 2005 20:02 GMT
> I get:
> Please add the following types to your classpath for full analysis:
> [hw]
>
> What does it mean and how do I call lint4j correctly?

lint4j uses the byte code and the source code.
So you'll have to put the hw.class into directory c:\cygwin\tmp\hwj.


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



©2008 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.