Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Java


  • Please log in to reply

#1
Supercalifragilistic

Supercalifragilistic

    Member

  • Member
  • PipPipPip
  • 404 posts
I've made the text file and I'm on the compiling bit, but it sais "'javac' is not recognized as an internal or external command, operable program or batch file." I did the bit about the PATH file. I think that's the problem but I followed the instructions.

Can anyone help?
  • 0

Advertisements


#2
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
Hi Supercalifragilistic,

1. let's take a look at your path variable from a command window:

left click Start
left click Run
type cmd
then click ok
type path
then press enter

the path variable will be displayed - please send us the path information starting with PATH=

2. which folder contains javac.exe?

we will proceed based on your reply to 1 & 2 above.

bdlt
  • 0

#3
Supercalifragilistic

Supercalifragilistic

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 404 posts
1. I attached the path bit.
2. C:\Program Files\Java\jdk1.5.0_07\bin

Attached Thumbnails

  • PATH.PNG

  • 0

#4
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
your path variable looks ok

let's see if we can see javac.exe from the command window.

try typing:
dir "C:\Program Files\Java\jdk1.5.0_07\bin\*.exe"


we want to see javac.exe and java.exe.

are they there?
  • 0

#5
Supercalifragilistic

Supercalifragilistic

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 404 posts
It's OK, I fixed it. Thanks for the help anyway.

I think the problem was I had to edit the PATH thing which I did, but after I edited it I think CMD needed restarting and I just continued trying it on the same CMD window. Thanks anyway though.
  • 0

#6
KenshinX

KenshinX

    Member

  • Member
  • PipPip
  • 35 posts
you wouldn't happen to mean

www.helloworld.com

would you? if so, i know someone who owns part of the company
  • 0

#7
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
Supercalifragilistic - thanks for letting us know it's working.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP