Mythruna

General Category => Tech Support => Topic started by: Michael on September 05, 2012, 06:42:01 PM



Title: Java Runtime Ruined
Post by: Michael on September 05, 2012, 06:42:01 PM
I don't know what I did wrong, but i believe it was linked to this:
Quote from: pspeed
Notepad has NOTHING to do with setting an environment variable.  If you don't know how to set an environment variable then this is already too hard.

google is your friend.
It wasn't Paul's fault, it was what I did. This is what I did:
(http://i1145.photobucket.com/albums/o517/unnaturallife/ex1-3.jpg)

I added files to the circled area, but i removed that added ones. those were the files i had on it, NOTHING REMOVED that was there originally.


Title: Re: Java Runtime Ruined
Post by: winner10 on September 05, 2012, 07:30:33 PM
Holy... Crap... What have you gotten Yourself into?

Uhm... Just a few tips. Dont DELETE Any of the System/user Variables if you didnt Create them. You can delete ones you made. DO NOT DELETE ones Your computer has already made for you. Or you may have Unbelievable problems.

Like... What were you Trying to Originally?


Title: Re: Java Runtime Ruined
Post by: pspeed on September 05, 2012, 08:57:33 PM
He's in over his head and doesn't know the command line very well.  So he doesn't know how to do:
set JAVA_HOME=somepath
set PATH=somepath;%PATH%

on the command line.  And my guess is that he set the global one (or something like it) to the wrong place... which can mess up Java.

It's ok to set those so you don't have to do it on the command line every time you want to run them but you have to get them right or, as you say, bad things happen.


Title: Re: Java Runtime Ruined
Post by: Michael on September 06, 2012, 02:24:44 PM
I removed the variables that I placed... shouldn't that have fixed it?
I have gotten the idea to do a complete system restore (aka: restore to original condition.)


Title: Re: Java Runtime Ruined
Post by: Michael on September 06, 2012, 02:28:16 PM
He's in over his head and doesn't know the command line very well.  So he doesn't know how to do:
set JAVA_HOME=somepath
set PATH=somepath;%PATH%

on the command line.  And my guess is that he set the global one (or something like it) to the wrong place... which can mess up Java.

It's ok to set those so you don't have to do it on the command line every time you want to run them but you have to get them right or, as you say, bad things happen.

As you say, I am way over my head. everyone i believe was like that at one time. i don't think you (Paul) have never done something bad like this in a way.

and Paul, once this is fixed (hopefully fixable) i won't bug you for a week :( i realize i have been consuming your time majorly.


Title: Re: Java Runtime Ruined
Post by: pspeed on September 06, 2012, 03:18:37 PM
He's in over his head and doesn't know the command line very well.  So he doesn't know how to do:
set JAVA_HOME=somepath
set PATH=somepath;%PATH%

on the command line.  And my guess is that he set the global one (or something like it) to the wrong place... which can mess up Java.

It's ok to set those so you don't have to do it on the command line every time you want to run them but you have to get them right or, as you say, bad things happen.

As you say, I am way over my head. everyone i believe was like that at one time. i don't think you (Paul) have never done something bad like this in a way.

Everyone has to start somewhere.  Though most people tend to ask for tool support with the tool vendor and not some random semi-related forum...

I learned on DOS.  Environment variables are a way of life.  But it's fundamental stuff.  Maybe you should spend some time learning how to right batch files.

and Paul, once this is fixed (hopefully fixable) i won't bug you for a week :( i realize i have been consuming your time majorly.

Uninstall all of your Javas. 
Open a command line. 
Type: java -version
confirm that it tells you "command not found"
Install the JDK
Open a new command line.
Type: java -version
confirm that it runs and tells you the version

Run the Mythruna .exe


Title: Re: Java Runtime Ruined
Post by: Michael on September 06, 2012, 03:50:24 PM
why install a JDK?


Title: Re: Java Runtime Ruined
Post by: pspeed on September 06, 2012, 04:15:00 PM
why install a JDK?

I thought that's what you were trying to do before.  Nevermind.  Follow up on the groovy forums.


Title: Re: Java Runtime Ruined
Post by: Michael on September 06, 2012, 04:29:21 PM
THANK YOU PAUL  :D :D :D
I have java fixed - sometimes the simplest things solve problems that were made very hard....


Title: Re: Java Runtime Ruined
Post by: Moonkey on September 07, 2012, 05:32:02 PM
*facepalm* Note that JDK is meant for coding.


Title: Re: Java Runtime Ruined
Post by: Michael on September 07, 2012, 09:17:54 PM
*facepalm* Note that JDK is meant for coding.
Yes i know xD