Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 18-06-2008, 01:01 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2008
Posts: 1
Default Help a beginner in Java!!


Hello! to all tech enthusiasts.well iam a beginner programmer in Java currently learning it on my very own.Ihave got an extremely simple but very important question.I recently started using Windows Vista Home premium and downloaded JDK 6.0.But I find that many commands such as "javac" are not recognised by the system and infact I have not been able to run any program correctly till now on my new PC.Please can anyone give me some information as to how I can start using Java on my PC??
anuragsinha is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-06-2008, 06:09 PM   #2 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: Help a beginner in Java!!

start->run "cmd"

navigate to the folder where you installed jdk. then go to \bin.

now you can use javac and java.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 19-06-2008, 08:43 AM   #3 (permalink)
In The Zone
 
anomit's Avatar
 
Join Date: Mar 2005
Location: Kharagpur
Posts: 252
Default Re: Help a beginner in Java!!

change your PATH environment variable. I have never used Vista but if I was in XP, I'd have done the following from the command prompt:

SET PATH=%PATH%;D:\java\bin

assuming you have installed the jdk at D:\java
Don't think things would be much different in Vista..
__________________
Don\'t SYN me, I'll SYN you. :p
anomit is offline  
Old 19-06-2008, 09:14 AM   #4 (permalink)
The rated R superstar.
 
Join Date: Jun 2008
Location: Visakhapatnam
Posts: 85
Default Re: Help a beginner in Java!!

Pls set the path and the class path.
create a .bat file and put the path and classpath the go to cmd and run thr .bat file.
set path=;E:\Java\jdk1.7.0\bin;%path%
set classpath=;E:\Java\jdk1.7.0\src.jar;.;E:\Java\jdk1 .7.0\lib\dt.jar;.;E:\Java\jdk1.7.0\lib\tools.jar;% classpath%
__________________
I'm very responsible, when ever something goes wrong they always say I'm responsible.
roshan1236a is offline  
Old 19-06-2008, 07:48 PM   #5 (permalink)
Tired of being sorry!
 
quad_master's Avatar
 
Join Date: Jan 2008
Location: City of Joy
Posts: 67
Lightbulb Re: Help a beginner in Java!!

typical path problem dude!! if u open a console & set the PATH variable...bingo! u r done!! but i think when u exit form that console...setting will gone!!

so u need to fix this up permanently...
RClick on mycomputer > properties > advanced > environment variables > user variable/system variable section's NEW button > it'll ask for 'variable name' & 'value'
set 'variable name' to PATH & it's value to the java's 'bin' directory...save the changes...u r done!
__________________
There are 10 types of people in this world, those who understand binary and those who do not.
quad_master is offline  
Old 19-06-2008, 08:30 PM   #6 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
Default Re: Help a beginner in Java!!

^^absolutely right.
__________________
n00b forever...
~Phenom~ is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide for beginner how to convert video to psp jane1043 Tutorials 1 17-01-2010 10:39 AM
Java programming..how can I distribute java program....? Manojap Programming 5 16-05-2009 02:46 PM
What is more powerfule Core Java or Java ? avadhesh QnA (read only) 4 06-05-2008 04:55 PM
MSDN Launches Beginner Programmers Site Third Eye Technology News 7 03-03-2007 07:44 PM
Beginner’s Guide: Run Linux like any other program in Windows subratabera Open Source 15 02-02-2007 10:58 PM

 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 11:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2