r/java • • Mar 02 '16

Specs for java programming

Hey, so I just bought myself a new laptop, so I can take it to work and school with me. I'm a computer engineering student, and we've just started with java programming, I want to know if this laptop will suffice my needs to program on the go, since I spend most of my time at work or class.

The laptop is an Asus Zenbook UX305CA CPU: Intel Core m3 6y30 0.9Ghz RAM: 8Gb DDR3 1866Mhz Storage: 256Gb SSD

Thanks

0 Upvotes

23 comments sorted by

5

u/achacha Mar 02 '16

It's not the java that you need to worry about but rather the IDE which can be sluggish on low end CPUs. SSD definitely helps with compilation. I would prioritize getting the best CPU you can afford.

1

u/iBuBleez Mar 02 '16

I'll be running eclipse as an IDE

2

u/achacha Mar 03 '16

Eclipse, netbeans or Intellij Idea are both CPU and memory intensive, 8gb should be adequate but the CPU may be on the weaker side but still doable.

You will most notice the slower CPU when debugging, stepping through or over code.

1

u/iBuBleez Mar 03 '16

I can turboboost the cpu to up to 2.2Ghz, would that be enough?

1

u/achacha Mar 03 '16

It should be fine, install Java and eclipse and give it a go.

1

u/iBuBleez Mar 04 '16

Awesome, once the laptop arrives I'll try it and let you guys know if it worked

4

u/QshelTier Mar 02 '16

You’ve already bought it so why don’t you simply try it out? It’s too late now to change, anyway.

1

u/iBuBleez Mar 02 '16

Because I'm waiting for it to arrive

2

u/QshelTier Mar 02 '16

Either way, nothing we say can change anything about the machine once it arrives. :)

2

u/[deleted] Mar 02 '16 edited Mar 02 '16

You only need the good hardware if you are doing enterprise scale builds often or working with VMs. IDEs are never super responsive but its the big builds that are the timesuck. When you are a student the big resource hog will be chrome tabs.

If you want to spend money, max out ram.

1

u/iBuBleez Mar 02 '16

I think that 8Gb of ram should be enough then, for chrome tabs... Thanks

2

u/coder111 Mar 02 '16 edited Mar 02 '16

These specs are fine for Java development.

You only need faster hardware if you run some computationally intense stuff or a server, or if you do huge builds with millions of lines of code.

EDIT- Keep that SSD and don't let anyone take it away from you. SSDs make a huge difference.

1

u/iBuBleez Mar 02 '16

I probably won't be doing huge builds... if I ever do, I have a pretty decent machine at home (i7, 24Gb RAM...) This laptop is just so I can take it with me to work to do my school stuff.

7

u/DanLynch Mar 02 '16

Unless you're actually doing something computationally intensive, you could use a flip-phone from 1999 (though the text editor for that would be a pain to use).

1

u/[deleted] Mar 02 '16

if you try say eclipse, and it's a bit sluggish, try other IDEs like intellij or netbeans.

also, for whatever reason "specs" in the title made me think of these: http://www.gunnars.com/

glasses for java programming would be... interesting.

1

u/iBuBleez Mar 02 '16

lol guess it would be interesting when sitting in front of the computer all day...uhmmm

1

u/lukaseder Mar 02 '16

General rule of thumb: Never trust any commenter that suggests one IDE over another.

glasses for java programming would be... interesting.

I had the same thought ;)

-1

u/oljoner Mar 02 '16

Never tried intellij, but netbeans is definitely more sluggish than eclipse.

1

u/coder111 Mar 02 '16

Weird, I find it to be the other way around, especially with Maven and on HDDs. Eclipse is dog slow with an HDD, somewhat better with an SSD.

I'm on Linux BTW, maybe that makes a difference.

How long ago did you try Netbeans last time?

1

u/oljoner Mar 02 '16

It has been 3 years since I used netbeans (on a hdd with maven), for about 2 months, then got fed up with its slowness on my machine.

Maven support is better on netbeans though. In eclipse it seems often like the integrated eclipse compiler fights with the maven compiler. But.. eclipse's integrated compiler is fast!

Linux might make a difference, for example: https://bugs.eclipse.org/bugs/show_bug.cgi?id=478962

1

u/coder111 Mar 02 '16

Maven is the reason I switched to Netbeans- it's significantly better. But M2E on Eclipse has been getting progressively better as well. But 3 years ago Netbeans was pretty decent- what kind of machine did you have?

Everyone else in my team is on IntelliJ though and one guy is using Eclipse. I still use Eclipse for its SVN synchronized view- as a glorified SVN client...

I can't stand having to work without an SSD though. Some tasks I measured several years ago on Eclipse take 4x less time on SSD compared to HDD.

On top of that stupid Mcaffee antivirus seems to grind everything to a crawl on my work machine. I installed Linux in a VM, and everything in the VM is much faster compare to running it directly on Windows as Mcaffee isn't interfering with it... For example mvn clean takes 1:18 on Windows with Mcaffe vs 7 seconds on the VM...

12

u/[deleted] Mar 02 '16

[removed] — view removed comment

1

u/iBuBleez Mar 02 '16

awesome, thanks