Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Compile and Debug Java  (Read 3282 times)
0 Members and 1 Guest are viewing this topic.
Offline samuvk

Junior Newbie





« Posted 2014-03-07 18:06:32 »

Hi All,

I'm Totally new in this World in I would like to know if there is any free compiler easy to use that you would recommend.

Thanks

Let's say that I have the following code and I want to run it. I would like to have an easy and intuitive compiler instead of going through the promt.

Thanks again

public class HelloWorld{

     public static void main(String []args){
        System.out.println("Hello World");
     }
}
Online Drenius
« Reply #1 - Posted 2014-03-07 18:09:15 »

Er ... what?
If you made this in a text editor: Use Eclipse or Netbeans like most people do.
So whats your problem?
Offline Andre Lopes
« Reply #2 - Posted 2014-03-07 18:14:11 »

https://www.youtube.com/watch?v=2FOp_RVrAq0


https://netbeans.org/downloads/


Hope that helps :0
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #3 - Posted 2014-03-07 18:44:09 »

Or intellij. But Eclipse is probably the most common, its nice but it isn't the best.

Offline samuvk

Junior Newbie





« Reply #4 - Posted 2014-03-07 19:21:10 »

Thanks. I'll try with netbeans
Offline Gibbo3771
« Reply #5 - Posted 2014-03-08 11:35:35 »

Or intellij. But Eclipse is probably the most common, its nice but it isn't the best.

Mind if I ask what you prefer? Why is Eclipse not the best?

I ask because I have used netbeans and HATED IT with a passion, never used intellij. I find Eclipse very good, it acts strange sometimes but I have mine setup with custom color scheme and such, something that afaik is harder in other IDE's.


"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #6 - Posted 2014-03-08 12:18:29 »

Well I've actually never used intellij (besides for Android Studio which is based off intellij), but I'm told its much better! Eclipse is just clunky and has some weird issues sometimes, but it's good.

I agree 100% with you on the netbeans thing though Tongue Funny how much one can hate an IDE!

Offline SwordsMiner

JGO Coder


Medals: 8
Projects: 2
Exp: 1 year


The one and only.


« Reply #7 - Posted 2014-03-08 13:16:30 »

I agree 100% with you on the netbeans thing though

Eclipse > Netcrap   Pointing

persecutioncomplex

If I made you laugh, helped you at all, or did something cool, I only ask that you smash that appreciate button with your nose.
Offline trollwarrior1
« Reply #8 - Posted 2014-03-08 14:10:40 »

IL2P%SE I3 THS BESD IDI OT TERE ITX A FAST SORU BAD ENSIH GRAMMWE NAD TIPIK SKIZ
Offline Andre Lopes
« Reply #9 - Posted 2014-03-08 17:02:02 »

I hate Eclipse with all my beloved hate.

Netbeans is awesome, at least for me.
But i do use eclipse for libgdx builds.... I kinda transfer the src folder and just build it there for android Tongue

Now, dont come saying eclipse is better because both are good.




Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Danny02
« Reply #10 - Posted 2014-03-08 17:25:47 »

I ask because I have used netbeans and HATED IT with a passion

why?
Offline trollwarrior1
« Reply #11 - Posted 2014-03-08 22:25:24 »

Because it depends on which one you use first.
If you download eclipse as your first IDE, you fall in love with it and hate everything else.
If you download netbeans as your first IDE, you fall in love with it and hate everything else.
If you download intelij as your first IDE, you fall in love with it and hate everything else.
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #12 - Posted 2014-03-08 22:34:59 »

No, I genuinely think Netbeans is a bad IDE. Don't tell me I can't hate it, I do because I have used it before and have had bad experiences with it. I like Eclipse better. If you are offended because I do not like your favorite IDE then you need to take a step back and cool off.

You just said you hate Eclipse yourself Andre. Don't be a hipocrite and then tell others not to be one.

Online Rayvolution

« JGO Spiffy Duke »


Medals: 249
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #13 - Posted 2014-03-08 22:46:49 »

Because it depends on which one you use first.
If you download eclipse as your first IDE, you fall in love with it and hate everything else.
If you download netbeans as your first IDE, you fall in love with it and hate everything else.
If you download intelij as your first IDE, you fall in love with it and hate everything else.

Uh, you're wrong.

I tried Eclipse first and it is the best IDE and I love it.. I've hated everything else I've tried! Only a fool would use something else!

... gah.. *throws hands up in the air* idiots.

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Offline chaucer345
« Reply #14 - Posted 2014-03-08 22:51:42 »

I'm partial to Eclipse myself, though I started with Netbeans.

I personally think it can be kind of fun to use a text editor and compile from the console, just so that you're really on your toes with your syntax as you're learning.
Offline HeroesGraveDev

JGO Kernel


Medals: 309
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #15 - Posted 2014-03-08 22:53:42 »

IntelliJ instantly loses because you have to pay unless you're working on open-source projects.

Eclipse and Netbeans seems to be pretty equal, although from what I've seen Eclipse is more popular.

Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #16 - Posted 2014-03-08 22:58:56 »

Netbeans (at least the versions I've used) has a lot more quirks.

My favorite one (the one I hate the most):
The keyboard shortcut to delete a line is Ctrl + E by default. When programming I frequently highlit enter lines of code and use the shortcut to delete that line quickly. Well, Netbeans, being the smart mofo it is, decides to actually delete the line below the selected line as well. I just cannot comprehend who the hell thought that was a good idea. The shortcut is rendered completely useless because of that one flaw. Now again, this might be fixed in newer versions but that's only one of the many things I have found about Netbeans that makes me just angry...

Online Rayvolution

« JGO Spiffy Duke »


Medals: 249
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #17 - Posted 2014-03-08 22:59:21 »

IntelliJ instantly loses because you have to pay unless you're working on open-source projects.

Eclipse and Netbeans seems to be pretty equal, although from what I've seen Eclipse is more popular.

If it wasn't obvious from my over sarcastic post, I use Eclipse. It really just "gets the job done". I've never had any reason to even bother trying any other IDE. Also helps that since Eclipse is so popular it's easy to find plugins for it, or if you're have some oddball problem you can pretty much google just about anything about it and find a solution.

But my opinion is sort of invalid, since I have not even bothered with other IDEs.

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 289
Exp: 5 years



« Reply #18 - Posted 2014-03-08 22:59:52 »

I found Netbeans first, used it for some years, then tried Eclipse, now I use that for most things, but I'll still use Netbeans if I want quick GUI prototyping or just the simple convenience of the built-in VisualVM. Have yet to try IntelliJ, mostly for the reasons Heroes cited.
Never hurts to have more than one hammer in your toolbox.
Offline SwordsMiner

JGO Coder


Medals: 8
Projects: 2
Exp: 1 year


The one and only.


« Reply #19 - Posted 2014-03-08 23:12:50 »

I don't use any shortcuts in eclipse and I still love how efficient it is! However I wouldn't mind hearing the shortcuts you use to make me more productive.

If I made you laugh, helped you at all, or did something cool, I only ask that you smash that appreciate button with your nose.
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #20 - Posted 2014-03-08 23:15:22 »

Ctrl D deletes a line
Ctrl T opens a class chooser to easily switch between files
Ctrl Up/Down copies and pastes the current line you are on in the direction that the currently hit arrow key is pointing.

There are a lot more but those are the top three I use besides the formatting and saving shortcuts.

Online Rayvolution

« JGO Spiffy Duke »


Medals: 249
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #21 - Posted 2014-03-08 23:22:33 »

Ctrl D deletes a line
Ctrl T opens a class chooser to easily switch between files
Ctrl Up/Down copies and pastes the current line you are on in the direction that the currently hit arrow key is pointing.

There are a lot more but those are the top three I use besides the formatting and saving shortcuts.

My fav so far is CTRL+clicking an object's method and going straight to the it's method in it's class. Cheesy

Makes it really easy when you have a brainfart and forget where you put something.

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Online SHC
« Reply #22 - Posted 2014-03-09 04:45:08 »

I'd ask this method which is best.

1  
2  
3  
4  
public void printBestIDE()
{
    System.out.println("Eclipse!!! The Best of all!!!");
}

I like it's look, speed, syntax colours, its integration with host os and whatnot, everything.

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #23 - Posted 2014-03-09 05:13:27 »

I have fallen in love with Eclipse, and it has solidified my ignorance of other IDEs, because it works for me the best.

In the end, they are your tool; and with me, Eclipse has the longest history of key-bindings, themes, and experience. Not to mention that I clearly cannot afford 24 hours to port those to NB or Intellij.

I like key-binding more than I would like to admit...  persecutioncomplex

-wes

Offline Danny02
« Reply #24 - Posted 2014-03-09 09:01:36 »

Sometimes I think the only plausible explanation is that there is a huge Stockholm-Syndrom epidemic around the eclipse user base. Tongue
Offline matheus23

JGO Kernel


Medals: 114
Projects: 3


You think about my Avatar right now!


« Reply #25 - Posted 2014-03-09 10:42:21 »

Because it depends on which one you use first.
If you download eclipse as your first IDE, you fall in love with it and hate everything else.
If you download netbeans as your first IDE, you fall in love with it and hate everything else.
If you download intelij as your first IDE, you fall in love with it and hate everything else.

I switched from Eclipse (used it for 1/2 of my java time) to IntelliJ. I really like it.

ra4king switched to IntelliJ from Eclipse, too Wink

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Roquen
« Reply #26 - Posted 2014-03-09 12:49:03 »

Sometimes I think the only plausible explanation is that there is a huge Stockholm-Syndrom epidemic around the eclipse user base. Tongue
I mainly use Eclipse for the same reason I mainly use Windows.  For some things I commonly want use to...it's the only option.
Offline ctomni231

JGO Wizard


Medals: 99
Projects: 1
Exp: 7 years


Not a glitch. Just have a lil' pixelexia...


« Reply #27 - Posted 2014-03-09 12:51:22 »

I switched from Intellij to Netbeans, then Netbeans to Eclipse.

 I've used all three IDEs and tried to get comfortable with them. However, I think the only reason I'm using Eclipse is because of the ease of using LibGDX with it. I've had some issues with Eclipse completely forgetting my workspace, but overall I didn't eat huge errors where I lost big chunks of my code. It also has good repository support for GIT, which is a must for me.

Intellij lost out when I tried to use Mercurial with it. Netbeans had good support for it so I switched. Then Netbeans had horrible support for easily integrating Android and at the time I needed a fast solution so I moved to Eclipse Ganymede and never upgraded or looked back.

To be honest, all the IDEs are not hard to use, they just have little feature differences to get used to. I guess I won't understand the war behind it as well as you folks. I'm using eclipse now, but I follow the IDE that suits my needs. Maybe it is the fact I am using Notepad++ in Windows to quick fix my code that doesn't leave me dependant on the IDEs as much...


Offline TeamworkGuy2

Junior Devvie


Medals: 10



« Reply #28 - Posted 2014-03-09 13:01:39 »

Ctrl + D deletes a line
Ctrl + T opens a class chooser to easily switch between files
Ctrl + Up/Down copies and pastes the current line you are on in the direction that the currently hit arrow key is pointing.
My fav so far is CTRL+clicking an object's method and going straight to the method in it's class. Cheesy
Everyone may already know these; they save me from having to click around Eclipse's menus quite often.

Alt + Shift + R = rename the variable, method, or class your cursor is currently on, amazing for cleaning up class and method names!
Ctrl + Shift + G = find all references to the variable, method, or class your cursor is currently on.
Ctrl + PageUp/PageDown = cycle through currently open files.
Ctrl + Shift + left/right arrow = select the next portion of text on the line, if the text in front of the cursor is a variable name in TitleCase/camelCase, it highlights up to the first capital letter and subsequent arrow key presses highlight the next portion of the name.
Offline Grunnt

JGO Kernel


Medals: 95
Projects: 8
Exp: 5 years


Complex != complicated


« Reply #29 - Posted 2014-03-09 16:13:46 »

Let's say that I have the following code and I want to run it. I would like to have an easy and intuitive compiler instead of going through the promt.

I'd strongly advice starting learning how to make a java program using notepad + the commandline prompt first. Otherwise you'll really have no clue as to what is going on whenever you run into a problem.

Also, no matter whether you use Eclipse, Netbeans or IntelliJ, they (usually) all use the same compiler: the Oracle one, and sometimes OpenJDK:
1. You write the program in text (a .java file)
2. A java compiler (javac.exe) compiles it to Java bytecode (a .class file)
3. You can then run this bytecode using the JVM (e.g. java myapp command)

A development environment like Eclipse does not compile anything, its just a glorified text editor.

Pages: [1] 2 3
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!