| Author |
use java 1.4 instead of java 1.5 for generics
|
sai rama krishna
Ranch Hand
Joined: May 29, 2009
Posts: 132
|
|
I have a hashmap which has username and password information.
I am reading the username and password information to send it to one other method as follows.
Challenge now I have is server is running on java 1.4 not java 1.5.
I need to modify my code to remove java 1.5 Generics and use java 1.4. How Can achieve it
Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
|
 |
Steve Luke
Bartender
Joined: Jan 28, 2003
Posts: 3026
|
|
|
What you need to do is called 'cross compilation.' The compiler can do this by passing the target command flag option when compiling the code. See: http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html. There are some notes on that page about cross compilation you should read.
|
Steve
|
 |
 |
|
|
subject: use java 1.4 instead of java 1.5 for generics
|
|
|