hello, Am new to Java and i just installed jdk, but i failed to set the paths correctly since am missing some paths am supposed to edit as the procedure says, any one having an idea pliz help me, thanx

Recommended Answers

All 3 Replies

What paths do you need to set? What version of Windows are you on?

The main change is to add the path to the JDK's bin folder containing the javac commmand to the System's PATH variable.

To see what you currently have, open a command prompt window and enter: PATH.
If you want to copy and paste here what you see:
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'

Paste here.

Hello thanx 4 de procedure guide :)
this is what i see...

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\cwu>path
PATH=C:\Program Files\Java\jdk1.6.0\bin;

C:\Documents and Settings\cwu>

If that is all that is in the PATH variable, there must be other programs that are now not being found by the OS since the path to them is no longer in the OS's PATH variable.
There is no easy way to figure out what the old value of PATH was.
Perhaps you can restore your XP system to a date before you changed the PATH variable.

Here's what I have in my PATH:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Norms\Norms Tools>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Ja
va\jdk1.5.0_04\bin;C:\BatchFiles;C:\Program Files\Support Tools\;C:\WINDOWS\syst
em32\WindowsPowerShell\v1.0;C:\Program Files\QuickTime\QTSystem\

D:\Norms\Norms Tools>


Good luck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.