aspose file tools
The moose likes Beginning Java and the fly likes Which jre to use? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Which jre to use?" Watch "Which jre to use?" New topic
Author

Which jre to use?

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
I have code like (HashMap<String, variable> that I am getting compile
error on. What jre should I use for this?

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
A variable name in that spot will not do - it has to be a class name. Generics (which this uses) were introduced in Java 5, so a JRE version 1.5 and higher is needed.

What is the exact error message you're getting?


Android appsImageJ pluginsJava web charts
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
post the whole line of code, and the exact error you are getting


Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which jre to use?
 
Similar Threads
Unsupported major.minor version 48.0
JRE Question
Is it possible to use web-start with jdk1.1?
IBM JRE
SDK JRE vs J2EE JRE?