Mythruna

General Category => Tech Support => Topic started by: Michael on September 18, 2012, 07:09:01 PM



Title: Tutorial - How to Install Groovy
Post by: Michael on September 18, 2012, 07:09:01 PM
Heya, this tutorial will teach you how to install groovy. This tutorial only works on Windows Vista/7.

1.) First off, you need to download Groovy http://groovy.codehaus.org/Download <-- click "Binary Release" of any version. Newest is 2.0.1

2.) Second, download a JDK (Java Development Kit) http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html accept license agreement and select version.

3.) Go into your start menu and right click "computer" and select "properties".

4.) It brings up the control panel. On the sidebar, select "Advanced System Settings" and click "Environment Variables" near the bottom.

5.) At the top it says "User Variables for [username]" click "New" and type "GROOVY_HOME" this location is where you installed groovy. Mine for example is   "C:\Users\Michael\Scripting\groovy-2.0.1" and select 'OK'

6.) Select "New" again. name this one "JAVA_HOME" this is where you put your JDK. Mine for example is "C:\Program Files (x86)\Java\jdk1.7.0_07"

7.) Select "New" one last time. name this one "PATH" and inside that put "%GROOVY_HOME%\bin;%PATH%"

8.) Press 'ok' to get out of everything, making everything confirmed.

you should now have groovy installed properly. you can open up the command prompt and type "groovy" and press enter. You now have groovy installed properly, enjoy!

NOTE: to open groovy go to either your command prompt and type "start groovyConsole" or go to your groovy directory, inside the bin, and double-click on the batch file named "groovyConsole"

you can learn groovy at: http://groovy.codehaus.org/Documentation


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 18, 2012, 07:32:54 PM
i believe i already had the groovy_home env. variable when i used the windows installer


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 18, 2012, 07:53:53 PM
6.) Select "New" again. name this one "GROOVY_HOME\bin" and like GROOVY_HOME, just add '\bin' to the end of it.

Don't do this one.  It's weird and unnecessary.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 18, 2012, 07:54:53 PM
8.) Select "New" one last time. name this one "PATH" and inside that put "%GROOVY_HOME%\bin%PATH%"

You need a semicolon in there:
 "%GROOVY_HOME%\bin;%PATH%"


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 19, 2012, 07:57:08 AM
8.) Select "New" one last time. name this one "PATH" and inside that put "%GROOVY_HOME%\bin%PATH%"

You need a semicolon in there:
 "%GROOVY_HOME%\bin;%PATH%"

I didn't have to do this part... O.o


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 19, 2012, 08:56:11 AM
8.) Select "New" one last time. name this one "PATH" and inside that put "%GROOVY_HOME%\bin%PATH%"

You need a semicolon in there:
 "%GROOVY_HOME%\bin;%PATH%"

I didn't have to do this part... O.o

Maybe the groovy installer did it for you?  The groovy bin needs to be on the path in order to run "groovy" from the command line... or you'll get "command not found".


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 19, 2012, 01:07:17 PM
Paul, what degree do you have specifically?


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 19, 2012, 01:28:25 PM
8.) Select "New" one last time. name this one "PATH" and inside that put "%GROOVY_HOME%\bin%PATH%"

You need a semicolon in there:
 "%GROOVY_HOME%\bin;%PATH%"

6.) Select "New" again. name this one "GROOVY_HOME\bin" and like GROOVY_HOME, just add '\bin' to the end of it.

Don't do this one.  It's weird and unnecessary.

*edits post* ok thanks Paul, told you I forgot :P i remembered enough to work it.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 19, 2012, 05:58:00 PM
Paul, what degree do you have specifically?

Like... college degree?


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 19, 2012, 06:28:19 PM
Paul, since we are on the topic of groovy, is there a section you recommend to start on? in the "user guide" section http://groovy.codehaus.org/User+Guide


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 19, 2012, 07:05:02 PM
Paul, what degree do you have specifically?

Like... college degree?
yes, unless you don't have one. I only ask because I'm trying to find a degree for software developement (making video games) and i wondered if you had or know of a specific degree i could look up.


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on September 19, 2012, 07:13:30 PM
Im currently getting my associates in computer programming, only 1 semester to go woot, but I may transfer to baker college after. They offer a bachelors in software with a specialty in game development....and you can even do it online. There are other schools but this one has a campus nearby


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 19, 2012, 07:28:19 PM
Paul, what degree do you have specifically?

Like... college degree?
yes, unless you don't have one. I only ask because I'm trying to find a degree for software developement (making video games) and i wondered if you had or know of a specific degree i could look up.

If not a bother, I would like to ask how old are you? Our minds are connected. I am trying to learn groovy (when i get some quiet in my house) and here are my plans:

JOB: ?
 secondary 1: Artist
 secondary 2: Computer Programmer
 secondary 3: youtube partner.

:D I have a great plan and I am 12!


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 19, 2012, 07:58:01 PM
Paul, since we are on the topic of groovy, is there a section you recommend to start on? in the "user guide" section http://groovy.codehaus.org/User+Guide

<shrug>  It's probably all worth doing.  Do every tutorial you can get your hands on.  They will all teach you something.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 19, 2012, 08:00:24 PM
Paul, what degree do you have specifically?

Like... college degree?
yes, unless you don't have one. I only ask because I'm trying to find a degree for software developement (making video games) and i wondered if you had or know of a specific degree i could look up.

I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 19, 2012, 08:05:45 PM
Paul, what degree do you have specifically?

Like... college degree?
yes, unless you don't have one. I only ask because I'm trying to find a degree for software developement (making video games) and i wondered if you had or know of a specific degree i could look up.

I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.

I forget the exact date, but you are 41, from 10 - 41 is a difference of 31. I believe computers were invented in the what, 1980's? I don't know i may be way off. anyways what thrived you to learn scripting/programming? What, my thrive? Mine is the desire to learn.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 19, 2012, 08:32:35 PM
Paul, what degree do you have specifically?

Like... college degree?
yes, unless you don't have one. I only ask because I'm trying to find a degree for software developement (making video games) and i wondered if you had or know of a specific degree i could look up.

I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.

I forget the exact date, but you are 41, from 10 - 41 is a difference of 31. I believe computers were invented in the what, 1980's? I don't know i may be way off. anyways what thrived you to learn scripting/programming? What, my thrive? Mine is the desire to learn.

Computers invented in the 1980s?!?!  LOL.  Yeah, we slayed the last of the dinosaurs and instantly made an Atari 2600 game console from the skins. :)  (Atari 2600 came out in 1977, Coleco-vision in 1982)  We never had an atari but we did eventually get a coleco-vision.  Donkey Kong and Zaxxon for the win.

This was the first computer my dad bought that actually worked: http://en.wikipedia.org/wiki/TI99/4A

By the time Return of the Jedi came out (in 1983) I think I was already visiting arcades with some regularity.



Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 19, 2012, 08:56:41 PM
We had people on the moon before the 1980's to pile on rediculousness of when a computer was made.


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 20, 2012, 04:28:47 AM
I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.
I'm 18 and a senior in high school, and the only constant i can say about my life is video games. I have good grades and a great resume but i will be starting a bit late no matter what career i choose (compared to 10 or 12 years old). So far the degree that best fits the description i want is the Computer engineering.


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 20, 2012, 01:25:00 PM
I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.
I'm 18 and a senior in high school, and the only constant i can say about my life is video games. I have good grades and a great resume but i will be starting a bit late no matter what career i choose (compared to 10 or 12 years old). So far the degree that best fits the description i want is the Computer engineering.
12, 7th grade, I want 2 degrees, a degree in computer engineering, art degree. I am incredibly smart for my age. I am also a fast learner. My weakest subject is Language Arts (english) and I have a B in it. ;)


Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 20, 2012, 04:55:42 PM
I went to college more than 20 years ago now on a Systems Engineering degree.  The first two years were heavy on computer science... but I dropped out somewhere in or after my second year.  I was working for start up companies making good $$$ and just didn't have the time to juggle it all.

I also took some art classes and have been into computer graphics and game programming since I was 10 years old.  I thought about minoring in art but the curriculum was a little too strange and not computer-oriented at the time.
I'm 18 and a senior in high school, and the only constant i can say about my life is video games. I have good grades and a great resume but i will be starting a bit late no matter what career i choose (compared to 10 or 12 years old). So far the degree that best fits the description i want is the Computer engineering.
12, 7th grade, I want 2 degrees, a degree in computer engineering, art degree. I am incredibly smart for my age. I am also a fast learner. My weakest subject is Language Arts (english) and I have a B in it. ;)
I'm taking Language Arts in Honors. I have an A. :) I can see my grades any time I want. Mine in LA is 91.50 :D.


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 21, 2012, 01:17:47 PM
Quote from: Moonkey
I'm taking Language Arts in Honors. I have an A. :) I can see my grades any time I want. Mine in LA is 91.50 :D.

But you forgot your math:
91.50: did you forget the thing you learned? in math with a decimal, you can take 0's off the end of the number if it is not inbetween numbers ;)


Title: Re: Tutorial - How to Install Groovy
Post by: belgariad87 on September 21, 2012, 01:31:40 PM
Quote from: Moonkey
I'm taking Language Arts in Honors. I have an A. :) I can see my grades any time I want. Mine in LA is 91.50 :D.

But you forgot your math:
91.50: did you forget the thing you learned? in math with a decimal, you can take 0's off the end of the number if it is not inbetween numbers ;)
lol calm down, most people keep the 0 in there for grades.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 21, 2012, 01:37:05 PM
Quote from: Moonkey
I'm taking Language Arts in Honors. I have an A. :) I can see my grades any time I want. Mine in LA is 91.50 :D.

But you forgot your math:
91.50: did you forget the thing you learned? in math with a decimal, you can take 0's off the end of the number if it is not inbetween numbers ;)
lol calm down, most people keep the 0 in there for grades.

For lots of things, in fact.  Showing a fixed number of decimal places is quite common in different environments.

How much money do you have?  I have $5.5... just doesn't look right. :)


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 21, 2012, 02:22:14 PM
Quote from: Moonkey
I'm taking Language Arts in Honors. I have an A. :) I can see my grades any time I want. Mine in LA is 91.50 :D.

But you forgot your math:
91.50: did you forget the thing you learned? in math with a decimal, you can take 0's off the end of the number if it is not inbetween numbers ;)
lol calm down, most people keep the 0 in there for grades.

For lots of things, in fact.  Showing a fixed number of decimal places is quite common in different environments.

How much money do you have?  I have $5.5... just doesn't look right. :)

*whines* smart-allic  :P i mean in some cases. Money is not a case you do that.


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on September 21, 2012, 02:36:29 PM
Normally in arithmatic equations, yes you drop the 0, in other cases you wouldnt. In programming, sometimes you add a .0 to an equation to make the output correct

5/2=2
5.0/2=2.5


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 21, 2012, 05:29:10 PM
A Quick Question to Paul:

Do you need .class files to actually run a game??


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 21, 2012, 06:01:39 PM
A Quick Question to Paul:

Do you need .class files to actually run a game??

Sigh... that would depend. 

On another note:
Please type http://www.google.com/ into your browser and bookmark it or make it your home page.  Let's pretend you have a certain number of questions you can ask.  Why waste them with the simple questions?


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on September 21, 2012, 06:09:17 PM
A Quick Question to Paul:

Do you need .class files to actually run a game??

Sigh... that would depend. 

On another note:
Please type http://www.google.com/ into your browser and bookmark it or make it your home page.  Let's pretend you have a certain number of questions you can ask.  Why waste them with the simple questions?

Oh oh how many do I get oh great and wonderful oz


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 21, 2012, 06:26:17 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.


Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 22, 2012, 05:12:29 AM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.
*sits back* I'll take my time with Java. We have many more useful years to do this.


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 22, 2012, 06:15:10 AM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 22, 2012, 06:21:23 AM
A Quick Question to Paul:

Do you need .class files to actually run a game??

Sigh... that would depend. 

On another note:
Please type http://www.google.com/ into your browser and bookmark it or make it your home page.  Let's pretend you have a certain number of questions you can ask.  Why waste them with the simple questions?

I gotz google chrome :P it is always my home page.
I have looked it up on wikipedia, wikipedia.org/wiki/Java_class_files
it told me this, but i'm not sure exactly if it is needed: In the Java programming language, source files (.java files) are compiled into (virtual) machine-readable class files which have a .class extension.


Title: Re: Tutorial - How to Install Groovy
Post by: BenKenobiWan on September 24, 2012, 01:57:52 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 24, 2012, 02:07:56 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101
e.e 101 WHAT!?!?


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on September 24, 2012, 02:09:24 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101

Lol


Title: Re: Tutorial - How to Install Groovy
Post by: BenKenobiWan on September 24, 2012, 02:15:57 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101
e.e 101 WHAT!?!?
(102)
Questions.


Title: Re: Tutorial - How to Install Groovy
Post by: pspeed on September 24, 2012, 03:58:03 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101
e.e 101 WHAT!?!?
(102)
Questions.

LOL.


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 24, 2012, 03:58:33 PM
Oh oh how many do I get oh great and wonderful oz

Heheh.  It's a sliding scale I guess.  At any rate, regardless of the max number I think Unn has already run through 100 or more.

100 or more what  :-\
101
e.e 101 WHAT!?!?
(102)
Questions.
-.-


Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 24, 2012, 08:56:54 PM
The clueless never reach far ;).


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 25, 2012, 01:58:25 PM
The clueless never reach far ;).

*reaches far* well i am short.. 4'11 you beat my logic .-.


Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 27, 2012, 10:04:22 PM
The clueless never reach far ;).

*reaches far* well i am short.. 4'11 you beat my logic .-.
It's a metaphor. Reach = Anyone clueless. Reaches = Talking about a single person. A person named "The Clueless" :D


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on September 28, 2012, 01:24:08 PM
I know lol fail!


Title: Re: Tutorial - How to Install Groovy
Post by: Moonkey on September 30, 2012, 07:44:31 PM
I know lol fail!
Be funnier next time. And I might respect your sarcasm.


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on September 30, 2012, 07:46:52 PM
Sarcasm is such a hard thing to do online, one must become the sarcasm in order to let it flow through the fingertips.

Wax on....wax off


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on October 22, 2012, 01:30:31 PM
Just found out you can install netbeans (anything past 6.5) and groovy is automatically set up


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on October 22, 2012, 01:31:24 PM
Just found out you can install netbeans (anything past 6.5) and groovy is automatically set up
Yea, I got NetBeans installed, I have groovy installed but i don't use it yet 'cause I don't have it set up in my env. vars (because I am using java right now)


Title: Re: Tutorial - How to Install Groovy
Post by: Iggyjeckel on October 22, 2012, 02:03:49 PM
If I read it correctly, with netbeans you would be able to code in griovy without any extra effort

Have netbeans configurd correctly, then that means you have groovy configured


Title: Re: Tutorial - How to Install Groovy
Post by: Michael on October 27, 2012, 02:15:18 PM
If I read it correctly, with netbeans you would be able to code in griovy without any extra effort

Have netbeans configurd correctly, then that means you have groovy configured
I believe you can.