Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Liutauras Vilda
Paul Clapham
paul wheaton
Sheriffs:
Tim Cooke
Devaka Cooray
Rob Spoor
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Forum:
Beginning Java
Which jre to use?
Barry Brashear
Ranch Hand
Posts: 303
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have code like (HashMap<
String
, variable>
that I am getting compile
error on. What jre should I use for this?
Thanks.
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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?
Bill Shirley
Ranch Hand
Posts: 457
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
post the whole line of code, and the exact error you are getting
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read(
JavaRanchFAQ
);
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JRE Question
IBM JRE
Unsupported major.minor version 48.0
Is it possible to use web-start with jdk1.1?
SDK JRE vs J2EE JRE?
More...