Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

configuring jdk 1.3 :(

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
dear ones..i ahve got a small piece of problem to share with you ..
I had configured jdk 1.2 successfully back in aug, 2000!
but now with jdk 1.3 the problem is that i have to compile & save each and every program in the jdk1.3>bin directory and then i have to compile it...
My Configurations Are:
OS: Win 2000 (Professional Edition)
System: P-II, 266 Mhz
path i had set in autoexec.bat file
set path C:\jdk1.3\bin;
i'll be thankful
ur friend
Azam
------------------
 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what is causing your problem, but is it possible you have set a CLASSPATH environment variable incorrectly? With JDK 1.3, you don't need CLASSPATH to run stuff in your working directory. To see if you have set CLASSPATH, try "set CLASSPATH". If it reports a value for CLASSPATH, try "set CLASSPATH=", then try to run your program.
I've not used Win2000P, but I use WinNT4, its predecessor. In NT, you usually set environment variables for future use, like PATH, using Start - Settings - Control Panel - System - Environment - User Variables for <username>, instead of using autoexec.bat. The new settings apply to any new Command Prompt windows you open. For all I know, it may be fine to use autoexec.bat, but I've not done it with NT.
 
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have jdk 1.2.1 on my win2000 machine... i set my path by going to "start", "run" and then typing "sysedit"... the autoexec.bat file comes up and i added "C:\jdk..." to my PATH:
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.2.1\BIN
i do not have CLASSPATH set, and everything works fine as long as i compile/run with the .java/.class files in the working directory. i have not tried 1.3 yet

[This message has been edited by Greg Harris (edited April 28, 2001).]
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Azam,
I have intermittant problems like this. When I compile or run something, I occasionally have to use specify 'this' directory.
So, for example, I save File.java in some directory, then to compile from this directory, I type:
javac -classpath . File.java
And to run File.java:
javac -classpath . File.java
Susan

[This message has been edited by Susan Delph (edited April 28, 2001).]
 
Azam Bukhari
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear John, Greg & Susan i am ver thankful to you people.
specially Miss Susan who had made my life easier with jdk 1.3
ThanX a lot buddiez
Azam Bukhari
sazam@email.com
azambukhari@hotmail.com
 
I want my playground back. Here, I'll give you this tiny ad for it:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!