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

Command prompt won't recognize 'java' as a valid command


  • Please log in to reply

#1
Daniel Shoaf

Daniel Shoaf

    New Member

  • Member
  • Pip
  • 4 posts

I am trying to run a server for a game (Attack of the B-Team) for a few friends for them to connect to while they are away vacationing for the summer. However, I've hit a roadblock. Whenever I launch the launcher, command prompt properly launches and then tell me that 'java' is not an internal or external command, object, or batch file. What should I do/ how should I go about fixing this? Command prompt message and basic system properties included. I am open to allow someone remote access through TeamViewer or something if that would be the advisable way to go.

Attached Thumbnails

  • cmd_java.png
  • properties.png

  • 0

Advertisements


#2
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts

Java needs to be in the PATH environment variable. See here: http://www.minecraft.../#entry21572944


  • 1

#3
Daniel Shoaf

Daniel Shoaf

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

Java needs to be in the PATH environment variable. See here: http://www.minecraft.../#entry21572944

One problem down, another pops up... But thanks so much! Now it says this:

Attached Thumbnails

  • cmd_java2.png

  • 0

#4
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts

Download and install the 64bit version of Java perhaps?  That's one of the fixes given here: http://stackoverflow...ject-heap-error


  • 0

#5
Daniel Shoaf

Daniel Shoaf

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

I tried that. No good. Would you be open to remotely accessing my computer to take control of it and fix the problem? I feel like you would have much more success than I would.


  • 0

#6
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts

I'd rather not do any remoting, sorry. I don't even use Java. Haven't had it installed on my computer for 6 moths or more. I'm not a gamer so have no need for it (yet).

 

Read through this one. http://stackoverflow...nough-space-for

 

Does any of that apply? Is there a .ini file for the game that you can modify to make sure it's running the 64 bit Java and not the 32 bit?


  • 0

#7
Daniel Shoaf

Daniel Shoaf

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

You've done it. Consider this problem resolved. Thank you so much.


  • 0

#8
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts

Great! Thanks for letting me know. What exactly did you do to fix it?


  • 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