|
-
May 6th, 2006, 01:22 PM
#1
Recompile with -Xlint???
I am getting this Note when I am compiling a batch file involving a SalesClient, SalesServer, CreateDatabase, etc. and I was wondering if any of you had seen this before?
Note: Recompile with -Xlint:unchecked for details.
-
May 6th, 2006, 04:44 PM
#2
Re: Recompile with -Xlint???
Its a compiler warning that lets you know you that you are using a raw type of a class that is implemented using generics. To find out exactly what lines the compiler is referring to, compile from the command line using:
javac -Xlint:unchecked <class to compile>
-
May 6th, 2006, 06:14 PM
#3
Re: Recompile with -Xlint???
Would this cause a problem when trying to create a database? Also, I used that syntax, but it doesn't seem to be working...the class I think the problem is coming from is SalesServer and so I entered that in with the Syntax you gave me, but it says the syntax is incorrect.
-
May 9th, 2006, 03:55 AM
#4
Re: Recompile with -Xlint???
 Originally Posted by countrygirl2149
Would this cause a problem when trying to create a database?
Depends on which part of the code has problems, but mostly it should not.
 Originally Posted by countrygirl2149
Also, I used that syntax, but it doesn't seem to be working...the class I think the problem is coming from is SalesServer and so I entered that in with the Syntax you gave me, but it says the syntax is incorrect.
Try this :
javac -Xlint:unchecked SalesServer .java
If you are into serious java programming then I would suggest that you get a good IDE , Netbeans and Eclipse are good and free. Will take some time to learn but worth the effort.
-
May 9th, 2006, 05:57 AM
#5
Re: Recompile with -Xlint???
The best commercial IDE (in my opinion), IntelliJ IDEA, now has an $99 acedemic license for students and teachers, which puts it within reach for serious student programmers.
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats...
H. Aiken
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|