• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:04
CET 20:04
KST 04:04
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
SC2 All-Star Invitational: Jan 17-182Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises0Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou ComeBackTV's documentary on Byun's Career ! Team TLMC #5: Winners Announced!
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ What are former legends up to these days? BW General Discussion How soO Began His ProGaming Dreams Klaucher discontinued / in-game color settings
Tourneys
[Megathread] Daily Proleagues [BSL21] LB SemiFinals - Saturday 21:00 CET [BSL21] WB & LB Finals - Sunday 21:00 CET Small VOD Thread 2.0
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Has Anyone Tried Kamagra Chewable for ED? 12 Days of Starcraft The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Saturation point
Uldridge
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1983 users

[Help] Learning Java

Blogs > Coagulation
Post a Reply
1 2 Next All
Coagulation
Profile Blog Joined July 2006
United States9633 Posts
Last Edited: 2011-01-29 23:13:38
January 29 2011 23:12 GMT
#1
I have been wanting to get into learning coding (simple stuff )and from what i understand java is a good start point. So i did some research and went and downloaded the Java Developer Kit from here after I get everything downloaded and installed nothing seems to work so I did a little more reading and find out that i have to
Set up environmental variables for JDK before i can launch the program. however im having an extremely hard time figuring out exactly what im supposed to do.

I have a guide that gives this as first step
Under Windows, you set environmental variables by modifying the autoexec.bat file, located in the root directory of your hard-drive. This batch file is executed on startup; modifications to this file will not take effect until you run it, or reboot.


I have looked but..
I have no idea where to find this autoexec.bat file.
is it in the java instillation destination folder?
is it in my c root drive?
is it in my windows folder?
Im sorry if this is extremely dumb or simple and im being an ignorant newbie here
however..
I would appreciate any wisdom TL can shed on this frustrating road block

open to any and all suggestions if anyone has any good guides/sites etc to help


*
2Pacalypse-
Profile Joined October 2006
Croatia9527 Posts
Last Edited: 2011-01-29 23:24:37
January 29 2011 23:17 GMT
#2
You can set an Environment Variables by clicking right click on My Computer -> Properties -> Advanced.

Let me get back to you on exactly how to set up Java variables, because I did it like a year ago and kinda forgot now ^^.

EDIT: oh yeah, you need to set path to the Java executables. Under those Environment Variables, find Path variable under System Variables and click edit. Add semi colon at the end and type the path to your Java folder where the executables are.
Example: If you installed your Java to "c:\Program Files\Java", then you add to the path variable ";c:\program files\java\bin"
(note: I think executables are in bin folder, but you should check just to be sure)
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Qzy
Profile Blog Joined July 2010
Denmark1121 Posts
Last Edited: 2011-01-29 23:21:35
January 29 2011 23:21 GMT
#3
Hi

You should get an IDE. Like Netbeans or Eclipse - They control everything for you and makes it simple. . From there, try an online tutorial for java?

http://www.tutorialspoint.com/java/index.htm
TG Sambo... Intel classic! Life of lively to live to life of full life thx to shield battery
2Pacalypse-
Profile Joined October 2006
Croatia9527 Posts
January 29 2011 23:26 GMT
#4
And yeah, you should install some IDE (jGrasp is pretty simple).

You only need to edit your environment variables if you're gonna compile from command prompt, but with IDE there's no need for this.
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Random()
Profile Blog Joined August 2004
Kyrgyz Republic1462 Posts
January 29 2011 23:30 GMT
#5
On January 30 2011 08:21 Qzy wrote:
Hi

You should get an IDE. Like Netbeans or Eclipse - They control everything for you and makes it simple. . From there, try an online tutorial for java?

http://www.tutorialspoint.com/java/index.htm


I would not recommend jumping into an IDE straight away though. I think it is quite helpful to understand how the whole chain of Java development process works, especially things like setting up the class path. An IDE would do that for you and that's cool, but then you will have a hard time trying to run your program without one, and that makes you feel quite stupid
Disregard
Profile Blog Joined March 2007
China10252 Posts
Last Edited: 2011-01-29 23:39:02
January 29 2011 23:35 GMT
#6
You should just use a very simple IDE like JCreator LE. This way everything can be compiled, easily checked for syntax errors and such. After that you should use Eclipse, which I find has better functionality but JCreator is very newbie friendly. Never tried Netbeans though, but its a whole package IDE.

Im not very experienced since Ive only been doing this for a year, both C++/Java. D:

edit: Try using MS-DOS then, I would probably be stumped without a IDE.
"If I had to take a drug in order to be free, I'm screwed. Freedom exists in the mind, otherwise it doesn't exist."
Coagulation
Profile Blog Joined July 2006
United States9633 Posts
January 29 2011 23:55 GMT
#7
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE

Count9
Profile Blog Joined May 2009
China10928 Posts
January 29 2011 23:58 GMT
#8
NONONONO NOT NETBEANS!!!

No, just kidding, it's not bad at all, but eclipse is so nice. It's very beginner friendly: has a red x mark if your code is wrong, green check if its right, auto suggests correction etc.

I use netbeans mostly for GUI stuff, the coding environment is worse.
fanta[Rn]
Profile Blog Joined October 2004
Japan2465 Posts
January 30 2011 00:08 GMT
#9
netbeans is nice but it's buggy as fuck.
I still prefer it over eclipse though.
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 00:11 GMT
#10
On January 30 2011 09:08 fanta[Rn] wrote:
netbeans is nice but it's buggy as fuck.
I still prefer it over eclipse though.

hi fanta
sup?
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
Disregard
Profile Blog Joined March 2007
China10252 Posts
January 30 2011 00:13 GMT
#11
Everyone uses Eclipse, hop on the bandwagon. Haha :D
"If I had to take a drug in order to be free, I'm screwed. Freedom exists in the mind, otherwise it doesn't exist."
tofucake
Profile Blog Joined October 2009
Hyrule19184 Posts
January 30 2011 00:17 GMT
#12
I actually recommend learning C# instead. Java is bloated, and is up for some hard times.
Liquipediaasante sana squash banana
iGrok
Profile Blog Joined October 2010
United States5142 Posts
January 30 2011 00:25 GMT
#13
If you want to start by learning, check out Blue Pelican Java - its a free java textbook
MOTM | Stim.tv | TL Mafia | Fantasy Fighting! | SNSD
Cambium
Profile Blog Joined June 2004
United States16368 Posts
Last Edited: 2011-01-30 00:32:13
January 30 2011 00:30 GMT
#14
If you choose to use an IDE (you should), use IntelliJ. IntelliJ blows Eclipse out of the water in terms of usability and integration with other tools.

I use IntelliJ at home, and IDE at work because the corporate version is ridiculously expensive.
When you want something, all the universe conspires in helping you to achieve it.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 00:52 GMT
#15
On January 30 2011 08:55 Coagulation wrote:
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE



Nooooooooooooooo!!!!

If you are starting, do not use an IDE. You have to learn how to set things up.

Besides that, if you are just gonna code simple programs, there is no need to fire up a whole IDE and start coding when you could just open a terminal and notepad.

When you have the need to develop a GUI that demand too much repetitive coding, then use an IDE.
"When the geyser died, a probe came out" - SirJolt
NevilleS
Profile Blog Joined July 2009
Canada266 Posts
January 30 2011 01:02 GMT
#16
Don't listen to these guys saying not to use an ide. If you've never programmed before, your goal isn't to become a ninja yet, you just want to learn the basics... There can be done arcane wizardry required to compile and run programs for any language, and it's better to have a solid understanding of programming fundamentals before you start trying to figure that out too...
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 01:10 GMT
#17
On January 30 2011 09:52 fabiano wrote:
Show nested quote +
On January 30 2011 08:55 Coagulation wrote:
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE



Nooooooooooooooo!!!!

If you are starting, do not use an IDE. You have to learn how to set things up.

Besides that, if you are just gonna code simple programs, there is no need to fire up a whole IDE and start coding when you could just open a terminal and notepad.


If he is learning java for education he should learn the basics, yes.
If he is learning java to learn an additional language or just start to learn programing, there is no need to code in notepad and compile it via command line.

An IDE is a good tool to keep track on what is working and what is not.
Not to mention step by step debugging which made learning to program a lot easier.
Why should he sacrifice this for some command line skills he won't need if he will never implement complex systems?
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 02:00 GMT
#18
The error tracking is a good point, but here are my reasons for not using an IDE:

1. He would be using a bazooka to kill a fly (complete netbeans package will install so much stuff that he probably will never use)
2. Opening a terminal+notepad is way faster than Netbeans
3. He has everything he needs installed (the JDK), just need to set the Path, which was explained step-by-step above
"When the geyser died, a probe came out" - SirJolt
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 03:03 GMT
#19
On January 30 2011 11:00 fabiano wrote:
1. He would be using a bazooka to kill a fly (complete netbeans package will install so much stuff that he probably will never use)

Is that really an issue?
Most computers can handle it, right?
So what's bad about installing much stuff you'll never use?

On January 30 2011 11:00 fabiano wrote:
2. Opening a terminal+notepad is way faster than Netbeans

If i read the OP correct, he cannot code yet.
He WILL make plenty of mistakes some of which are hard to figure out on the command line (java compiling errors and exceptions sometimes really suck ...). A step by step debugger will save him more time than opening all those netbeans sessions will cost.

On January 30 2011 11:00 fabiano wrote:
3. He has everything he needs installed (the JDK), just need to set the Path, which was explained step-by-step above

See 2.
It's not about being able to code with the current setup, it's about learning efficiently.


One things why java is so easy to learn is because of it's easy to setup IDEs that let you look into how and why the program works. Not to mention that most of the IDEs are free. If it weren't for that, c# would be just as good as a first programing language.
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 04:02 GMT
#20
Ok, go with IDE then.

Hopefully you will see how much fun programming is!

Remember that many times you will find yourself stuck at something, like with the problem with Path you posted here, but by experience I can assure you these are the times you learn the most. This was a good time to learn what classpaths are, even if still don't know how to code

But if you are rushing to learn how to code, just go with IDE.

"When the geyser died, a probe came out" - SirJolt
1 2 Next All
Please log in or register to reply.
Live Events Refresh
RotterdaM Event
17:30
Mini Rotti Monday
RotterdaM831
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 831
Harstem 309
mouzHeroMarine 137
UpATreeSC 111
RushiSC 106
JuggernautJason35
DivinesiaTV 24
StarCraft: Brood War
Larva 513
Shuttle 426
BeSt 151
Dewaltoss 110
sorry 51
Sexy 43
910 40
NaDa 9
Dota 2
qojqva3864
BananaSlamJamma231
League of Legends
C9.Mang0177
Counter-Strike
fl0m1284
Heroes of the Storm
Liquid`Hasu117
Other Games
Grubby5629
FrodaN1109
Beastyqt728
ceh9494
Fuzer 314
B2W.Neo291
ArmadaUGS150
QueenE124
BRAT_OK 61
Mew2King53
Trikslyr45
MindelVK15
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• kabyraGe 178
• naamasc247
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 30
• HerbMon 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV797
Other Games
• imaqtpie1755
• Shiphtur191
Upcoming Events
OSC
16h 56m
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
3 days
Korean StarCraft League
4 days
OSC
4 days
OSC
4 days
IPSL
5 days
Dewalt vs Bonyth
OSC
5 days
uThermal 2v2 Circuit
5 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 19: Qualifier 2
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL Season 21
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1: W2
Escore Tournament S1: W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.