" Please do be sure to turn off HTML in your email client before posting."
[http://jakarta.apache.org/struts/using.html#Lists]


http://expita.com/nomime.html


On 22 Apr 2004, at 07:55, [EMAIL PROTECTED] wrote:



Yes it may me nasty but David im sorry i dont know  "dir / x "   and what is   8.3  directory names ??
I will correct the classpath surely.


Birendar Singh Waldiya





"David Friedman" <[EMAIL PROTECTED]>

22-04-04 11:19 AM


Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>



To
"Struts Users Mailing List" <[EMAIL PROTECTED]>

cc

Subject
RE: basic problem in java







Birendar,

That is a nasty looking classpath with slashes going in both directions in
your JDK path portion (incredibly unwise), long path names, and so forth.
Did you try using "dir /x" to get the short (8.3) directory names and fixing
your classpath from this
CLASSPATH=.;C:\jsdk1.4.2/lib/tools.jar;.\classes;.\lib;%CLASSPATH%;c: \Tomcat
\common\lib\servlet.jar;
to something a bit more normal?


 Regards,
 David

  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 22, 2004 1:29 AM
  To: Struts Users Mailing List
  Subject: RE: basic problem in java



 Below was the messages i was getting : I havent yet exactly found the
reason why this happened  im also sending the output of set command on dos
prompt.



  C:\biren\java>javac jaba1.java   jaba1.java:2: cannot resolve symbol   symbol  : class io   location: class java   import java.io.*;

 For following source code


 import java.io.*;  public class  jaba1  {          public static void main(String[] args)          {                  System.out.println("Hello World!");

          }
  }


 out put of my set command in dos prompt :-


 (I have already told that i deleted some of the folders in my C:\Documents
and Settings\)


  ALLUSERSPROFILE=C:\Documents and Settings\All Users
  APPDATA=C:\Documents and Settings\133044\Application Data
  CATALINA_HOME=c:\Tomcat

CLASSPATH=.;C:\jsdk1.4.2/lib/tools.jar;.\classes;.\lib;%CLASSPATH%;c: \Tomcat
\common\lib\servlet.jar;
 CommonProgramFiles=C:\Program Files\Common Files
 COMPUTERNAME=TCS021601
 ComSpec=C:\WINNT\system32\cmd.exe
 HOMEDRIVE=Y:
 HOMEPATH=\
 HOMESHARE=\\172.17.24.142\home1\133044
 INCLUDE=C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\include\
 JAVA_HOME=C:\jsdk1.4.2
 LIB=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\
 LOGONSERVER=\\ML06ADC01030304
 NUMBER_OF_PROCESSORS=1
 OS=Windows_NT
 Os2LibPath=C:\WINNT\system32\os2\dll;


Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C: \jsdk1.4.2\bin;C:\W
INNT\system32;C:\WINNT;C:\WINNT\System3
 2\Wbem;
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
 PROCESSOR_ARCHITECTURE=x86
 PROCESSOR_IDENTIFIER=x86 Family 15 Model 0 Stepping 10, GenuineIntel
 PROCESSOR_LEVEL=15
 PROCESSOR_REVISION=000a
 ProgramFiles=C:\Program Files
 PROMPT=$P$G
 SystemDrive=C:
 SystemRoot=C:\WINNT
 TEMP=C:\DOCUME~1\133044\LOCALS~1\Temp
 TMP=C:\WINNT\TEMP
 TOMCAT_HOME=.
 USERDNSDOMAIN=India.TCS.com
 USERDOMAIN=INDIA
 USERNAME=133044
 USERPROFILE=C:\Documents and Settings\133044
 windir=C:\WINNT



 Birendar Singh Waldiya





       "Dhaliwal, Pritpal (HQP)" <[EMAIL PROTECTED]>        22-04-04 02:09 AM              Please respond to              "Struts Users Mailing List" <[EMAIL PROTECTED]>


      To "'Struts Users Mailing List'" <[EMAIL PROTECTED]>              cc              Subject RE: basic problem in java







  that probably won't compile either
  import java.io.*;
  class  test
  {
  public static void main(String[] args)
  {
   System.out .println("My Apologies To all"); }
  }

 you were missing ; after the import ant String [] as a paramter to main
was
 declared wrong.


 Pritpal


 -----Original Message-----  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  Sent: Tuesday, April 20, 2004 10:17 PM  To: Struts Users Mailing List  Subject: RE: basic problem in java



 Hi,
 Im very sorry and apologize to all  for not telling the  about the
 resolving problem,
 Actually  my problem is resolved but i dont have the concrete  solution
for
 that , thats why i didnt  wrote it.
 The probelm occured  suddenly  one day i was deleting folders from my
 macheine to free my disk space  and in this process i deleted some of the
 folders  of   c:\ documents and settings (windows 2000 professional)
however
 the things were working very fine before that suddenly this problem
started
 occuring  i could not get what happened  because i was running and
compiling
 everthing right  before this and later it stoped working , then i  copied
 some of the folder in my" c:\documents and settings"  form some other
 persons machine  and it started working ..
 so i did not understand what exactly was the cure of my problem :


 Note i did not deleted folder named with  my login.

 i was  compiling very simple  program

  import java.io.*
  public class test{
  public static void main(arg [] String ){
  System.out .println("My Apologies To all");
  }

 }

  Birendar Singh Waldiya
  Tata Consultancy Services
  Mailto: [EMAIL PROTECTED]
  Website: http://www.tcs.com



 "David Friedman" <[EMAIL PROTECTED]>


 21-04-04 08:30 AM




  Please respond to
  "Struts Users Mailing List" <[EMAIL PROTECTED]>



  To
  "Struts Users Mailing List" <[EMAIL PROTECTED]>

 cc

  Subject
  RE: basic problem in java






 Dhaliwal,


 Birendar never seemed to post anthing after our answers and I was curious
if
 the problem was solved.  I was trying to be helpful and follow-up, not ask
 you for a rehash of the previously stated answers.  Also, you shouldn't
 underestimate the classpath 8.3 issue on Windows XP.


  Thanks anyway,
  David

  -----Original Message-----
  From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 20, 2004 8:00 PM
  To: 'Struts Users Mailing List'
  Subject: RE: basic problem in java


 You are using something like



 SomeClass someClass = java.io.SomeClass();


 See whats wrong with that? You are missing the new..

 If its not that.. Well.. When you forget the new compiler puts out that
kind
 of errors.


  Btw.. You classpath will be happy with
  .;c:\Drivers\classes111.zip;

  Provided that c:\Drivers and c:\biren\java do not have any classes in
 them.


 HTH,  Pritpal Dhaliwal

  -----Original Message-----
  From: David Friedman [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 20, 2004 2:09 PM
  To: Struts Users Mailing List
  Subject: RE: basic problem in java


 So Birendar,


 What was your problem?  I never saw a post about you resolving it. (and,
 curiosity killed the cat)


  Regards,
  David
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Sunday, April 18, 2004 3:16 AM
  To: Struts Users Mailing List
  Subject: RE: basic problem in java



 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]


 ForwardSourceID:NT00004B72




 ForwardSourceID:NT00004DDA

ForwardSourceID:NT00004EC2    
<InterScan_Disclaimer.txt>--------------------------------------------- ------------------------
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