This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Internationalization" Watch "Internationalization" New topic
Author

Internationalization

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

I am working first time on Java Internationalization. Gone through Java I18N tutorial but unable to run the example


This code compile well but when I am trying to run TestLang.java class "java TestLang fr FR" then its displaying message:
.
I put the properties file in same /WEB-INF/classes folder. Is that the place where property files reside?

Thanks & best regards

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

The problem was path setting. I set the JAVA_HOME, CALSSPATH, and PATH properly and now its working fine

Thanks & best regards
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Internationalization