Ancient Chinese Secret (as the 70's/80's commercial goes):

In Windows environments (for me in NT 4.0 and XP Home edition),
you can't use "long" windows pathnames.  They must be of the
8.3 variety.  Do a "dir /x" in c:\ and see what is listed
for c:\jdk1.3.1.  I tried it on mine and it came up
with "C:\JDK13~1.1" as the 8.x path. so your path will probably
have to be fixed to look more like this:

C:\JDK13~1.1;C:\JDK13~1.1\LIB\tools.jar;C:\JDK13~1.1\lib\rt.jar; etc....
Keep in mind the c:\Drivers\classes111.zip might not work because it has a
file name longer than 8.3.

This problem gave me headaches for JDK 1.X.X and Tomcat 4.1 (not for 5.0
since I'd already learned my lesson!).

Check out your paths using "dir /x" and see if fixing your classpath (you
may have to reboot, depending on where/how you set your classpath) to
standard 8.3 directory names works. Again, you might need to do the same for
the .jar files but I don't know for sure since I use Tomcat and Eclipse
making paths 'mostly' unimportant to me.

Regards,
David

-----Original Message-----
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 8:13 AM
To: Struts Users Mailing List
Subject: RE: basic problem in java


Post the contents of your jaba1.java file up to and including the
"import java.io.*;" line. You might have the import statement in the
wrong place.

-Max

On Sun, 2004-04-18 at 00:16, [EMAIL PROTECTED] wrote:
> My Classpath variable is set to         :
>
C:\jdk1.3.1\bin;c:\jdk1.3.1\lib\tools.jar;c:\jdk1.3.1\lib\rt.jar;c:\Drivers\
classes111.zip;c:\Drivers\classes12.zip;c:\Drivers;c:\biren\java
>
> JDK is installed
>
> C:\jdk1.3.1
>
> can you please help me ??
>
> Birendar Singh Waldiya
>
>
>
> "David Friedman"
> <[EMAIL PROTECTED]>
>
> 17-04-04 08:54 PM
>          Please respond to
>     "Struts Users Mailing List"
>      <[EMAIL PROTECTED]>
>                To
> "Struts Users
> Mailing List"
> <[EMAIL PROTECTED]>
>                cc
>
>           Subject
> RE: basic problem
> in java
>
>
>
>
>   What is your CLASSPATH variable set to and is java installed in
> c:\biren\java?
>
>  Regards,
>  David
>  -----Original Message-----
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>  Sent: Saturday, April 17, 2004 2:47 AM
>  To: Struts Users Mailing List
>  Subject: basic problem in java
>
>
>
>  Hi,
>   this may be  a slightly silly question for  people working on struts
> etc
> but im facing it and i dont have the clue why im getting it.. can
> anyone
> suggest me  why im getting proble..
>  while compiling a java program  my javac is unable to resolve the
> standard
> java classes  like  java.io.*   java.util.* ;
>
>
>  C:\biren\java>javac jaba1.java
>  jaba1.java:2: cannot resolve symbol
>  symbol  : class io
>  location: class java
>  import java.io.*;
>
>  whats  the problem  please help !
>              ^
>  Birendar Singh Waldiya
>
> ForwardSourceID:NT0000434E
>
>
> ______________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Max Cooper <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to