File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Whats this ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Whats this ?" Watch "Whats this ?" New topic

Whats this ?

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hi there,
I am working on the following -version :

C:\sun>java -version
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

Now when I compile my file called As
It compiles succesfully. But by mistake I typed and to my surprise it compiled. Other than file there is no other file in my classpath named but still it is compiling. I dont understand . Even also if I type then also does compile.
please help
thank you,
[ EJFH: Removed a few dozen question marks in subject ]
[ May 03, 2004: Message edited by: Ernest Friedman-Hill ]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

Windows isn't case sensitive. Compiling occurs within the OS, so Windows picks up the file. If you try to reference the same file from within another Java class, the case will matter.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Moving to Java in General (Beginner.) Followups there, please.

[Jess in Action][AskingGoodQuestions]
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Did javac generate a datefunction.class or a DateFunction.class?
In the second case, it will not matter. (but avoid it in ant-build-files).
Nick George
Ranch Hand

Joined: Apr 04, 2004
Posts: 815
I wonder what it looked like with the quotation marks

I've heard it takes forever to grow a woman from the ground
I agree. Here's the link:
subject: Whats this ?
It's not a secret anymore!