aspose file tools*
The moose likes Cattle Drive and the fly likes What is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "What is "ZoneInfo"?" Watch "What is "ZoneInfo"?" New topic
Author

What is "ZoneInfo"?

Diego Klappenbach
Ranch Hand

Joined: Aug 29, 2003
Posts: 31
Hi all,
all of a sudden I get this weird "ZoneInfo" message when compiling. Does someone know something about it?
Here's an example:

It first appeared when compiling the ReverseServlet program, so I don't know if it maybe has something to do with the J2EE installation? In any case, now I get this message regardless of what I compile, not only for servlets. The output above is for the "Hundred" program (which I *know* works, since I've passed it ).
My classpath is:

This is not really a big problem, since this is not an exception/error message. But I would like to understand what is going on.
Searching the web and some of the likely JavaRanch forums has not yielded anything useful, so I reckon this is not something that occurs every day.
Does someone have an idea what this is all about?
Regards,
Diego
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Did you have those unquoted spaces in your classpath before? I've known a lot of wierd problems with spaces in classpaths, so it might be worth a try putting them in quotes.
Of course, it may well be something else ...


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
Did you just recently install j2sdk1.4.2_01? Can you find the \jre\lib\zi\ZoneInfoMappings subdirectory? I'm thinking that perhaps your download was corrupted.

It doesn't seem to be a very common problem as far as I can determine.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Diego Klappenbach
Ranch Hand

Joined: Aug 29, 2003
Posts: 31
Did you just recently install j2sdk1.4.2_01? Can you find the \jre\lib\zi\ZoneInfoMappings subdirectory? I'm thinking that perhaps your download was corrupted.

Marilyn,
I think I've done most of my JavaRanch stuff with that SDK version.
I managed to find the \jre\lib\zi\ZoneInfoMappings file, but it was somewhere else (than were the compiler was looking for it).
As it turns out, I had several JREs and SDKs installed, so probably that has created some conflict.
Anyway, I did away with everything (SDK, JRE, and J2EE) and installed the latest SDK, hoping that would solve the problem. Well, it did, but instead I got a more serious problem - the compiler can't find the JavaRanchCommon.zip file (again!).
Below are some things I've tried.
First, the JavaRanchCommon.zip file I got is 184,776 bytes, so I suppose it did not get corrupted during download:


Tried putting the classpath in quotes:

I'm running this on a W2K machine.
Any suggestions?
Thanks for your help, regards,
Diego
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
In general I try to avoid spaces in my directory names, i.e. "otherJava" rather than "other java".

However, in this case (since you are using Win2K), I think that is not your problem.

Note that your first error message is "cannot access javax.servlet.http.HttpServlet". HttpServlet is in the javax.servlet.http package, not the com.javaranch.common package.

I have to leave for work now, but I recommend you reread the servlet assignment page very carefully, being careful not to skip any sentences or words.
Diego Klappenbach
Ranch Hand

Joined: Aug 29, 2003
Posts: 31
Ok, so again it was a dumb mistake. (..on the other hand, is there such a thing as an "intelligent" mistake? )
I had simply forgotten that servlets are part of the J2EE, so j2ee.jar was lacking in the classpath. Should not have tested the classpath with the BeeServlet class...
Frank, Marilyn, thanks for your help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is "ZoneInfo"?
 
Similar Threads
very new and very lost...
OOP-1 (DaysOld): setting classpath
Tomcat Installation
deployment issue
Jboss deployment error - help for a beginner