You are not logged in.
This is a question which has been bugging me for a long time.
WHAT EXACTLY DOES JRE OFFER WHICH NEEDS PEOPLE TO INSTALL IT INSTEAD OF OPENJDK6 ?
I currently have jre installed, but I want to install openjdk6. Please advice me.
Also, in the last week of may, I am joining programming classes in Core Java where they teach via Eclipse. Would the programming experience be the same with both the packages ?
And yeah, jre is *just* jre, but openjdk6 is openjdk6 (note the bolded part). If the 7th version comes out, will I need a manual removal of openjdk6 to install openjdk7 ?
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
If the classes in may you are going to attend are nothing more than basics (with all means what basics is, just console programs going towards the extend of programming calculators etc...), you should be fine with any java library (I did my first java year with the ibm java package)
As of the update part, you won't need to manually remove the 6 version, provided you install it with pacman (or yaourt perhaps), point is, as long as you are within the package manager, you'll be fine on update...
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
Well, in my experience if you are dealing with more advanced programs they most probably expect jre to be installed, not openjdk and some things will not work properly if you don't have jre. At best you will get errors but the program will still kind of work or if you are unlucky the program will just spit out cryptic error messages and leave you scratching your head.
Just my 5 cents.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
... and some things will not work properly if you don't have jre...
This is the best point of all. OpenJDK is not 100% compatible with code written for the JRE, particularly when it comes to applets. The current beta for Java/JRE 6u12 b3 is working better for my limited uses than OpenJDK was, and the final will be released next month. Early in your Java education, I'd stick with releases as opposed to development branches.
Offline
Yeah, sadly, the only thing is use java for these days (and it's still very occasionally) is a poker game running as a java applet (pokerroom.com), and it only works with jre. No luck with openjdk.
Though I would still always try openjdk6 first, just to see if it works
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
And for 64bit users ?
I plan to migrate to 64bit around the same time I take up Java lessons.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
And for 64bit users ?
jre_beta from the AUR gets you a working java environment AND working native java plugin for 64 bit Works great! No problems here so far!
Scott
Offline
WHAT EXACTLY DOES JRE OFFER WHICH NEEDS PEOPLE TO INSTALL IT INSTEAD OF OPENJDK6 ?
AN ACTUALLY WORKING JAVA APPLET SO THAT I CAN USE MY NETBANK.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I will +1 what R00KIE said. _Basic_ Java will be perfectly fine in OpenJDK, but once you get more advanced things could be different, and it's not worth the risk. I also am taking Java courses (sadly, it's the only high-school programming course offered, even in AP) with Eclipse.
Last edited by Ranguvar (2009-01-22 04:17:28)
Offline
Thanks for your inputs.
When can I expect OpenJDK to become 100% compatible with JRE ?
And yeah, whats IcedTea ?
offtopic: Which is lighter ? Eclipse or NetBeans ? And can I use Geany for basic java ? My rig is quite weak.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
And yeah, whats IcedTea ?
IcedTea is OpenJDK now. IcedTea was its name in the early stages when GNU Classpath and Sun's Java were merging. OpenJDK is going to remain the development branch for Java now.
Offline
Thanks for your inputs.
When can I expect OpenJDK to become 100% compatible with JRE ?
And yeah, whats IcedTea ?offtopic: Which is lighter ? Eclipse or NetBeans ? And can I use Geany for basic java ? My rig is quite weak.
You want Java on a weak machine? Not just using it, but working with it, too?
Alright, tongue-in-cheek jokes aside Geany can be used, or so a little birdie (Google) told me. Well, you don't even need an IDE really... though it helps when the language of choice has a really freaking massive standard library, like Java.
Eclipse and Netbeans are both written in Java, so I would just try both and see.
Offline
Geany works ? Thats great then. I already use it for C and C++ and also for learning Python.
Its really awesome because it supports different languages.
But I am talking about later stages, when I may need GUI development, etc.
My configuration is:
Intel Pentium 4 Processor 506 (2.66Ghz, 1MB L2 Cache)
Symtronics 256MB DDR1 400Mhz RAM
Intel GMA 900 Graphics Accelerator
Seagate Baracuda 80GB PATA HardDisc.
I am buying another GB of RAM somewhere on May 2009.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
... But I am talking about later stages, when I may need GUI development, etc.
What about simply learning something like Vim? It handles every language and is very well supported. It may seem like more work to make GUI initially, but I'm confident that it's more efficient once one's understanding is in place.
Offline
MetalheadGautham wrote:... But I am talking about later stages, when I may need GUI development, etc.
What about simply learning something like Vim? It handles every language and is very well supported. It may seem like more work to make GUI initially, but I'm confident that it's more efficient once one's understanding is in place.
I am uncomfortable with the idea of commandline IDEs. While I am a lover of nano when it comes to editing configuration files, I am still afraid to use Vim.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
skottish wrote:MetalheadGautham wrote:... But I am talking about later stages, when I may need GUI development, etc.
What about simply learning something like Vim? It handles every language and is very well supported. It may seem like more work to make GUI initially, but I'm confident that it's more efficient once one's understanding is in place.
I am uncomfortable with the idea of commandline IDEs. While I am a lover of nano when it comes to editing configuration files, I am still afraid to use Vim.
Don't be afraid
And you can use GVim for a graphical Vim...
Once you see how fast and powerful CLI apps can be, you'll be fine
Offline
I never understood HOW I can use vim. How can I rely on only keyboard in an IDE ?
Will I get the block collapse feature I get in Geany ?
And does it have controls for invoking the compiler ?
PS: I have a friend who is much junior to me as far as linux usage is concerned, but he says that 3 hours with vim made him think that its the bestest best thing in the world. Says that it enhances productivity a lot.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
I never understood HOW I can use vim. How can I rely on only keyboard in an IDE ?
Will I get the block collapse feature I get in Geany ?
And does it have controls for invoking the compiler ?
Yes, Vim does do code folding, as well as has complete control over compilers. The latter is a combination of having both a powerful internal scripting engine, as well as can call any external command.
One hurdle that you'll have to get over going from Geany to Vim is appearance. Geany is very aesthetically pleasing. gVim at it's best looks nowhere near as nice. I'm using Vim in urxvt. It took some getting use to.
PS: I have a friend who is much junior to me as far as linux usage is concerned, but he says that 3 hours with vim made him think that its the bestest best thing in the world. Says that it enhances productivity a lot.
It took me three weeks before I was reasonably happy with my .vimrc file! There's a learning curve, but it will become obvious very quickly just how efficient it is.
Offline
Wait a sec, is gvim a GUI app ?
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
Wait a sec, is gvim a GUI app ?
Yes, but it's not fancy like some of the other IDE.
Offline
And dependencies ? Does it need gnome or some other bulky library ?
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
And dependencies ? Does it need gnome or some other bulky library ?
gVim doesn't add much more than Vim. But, Vim as Arch has it set up requires Ruby, Perl, and Python. The total install is a bit large if you don't already use those languages.
Offline
I HAD to install perl because I use powerpill, while I am trying to learn python. That puts ruby as the only thing I need to install.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
When I installed Vim, Ruby was the only one that I didn't have. Ruby plus termcap-compat (the only dependency that I didn't already have) came in around 60MB installed. You really don't have much more to get.
Offline
But, WHATS the system requirements of NetBeans and Eclipse ? Can I actually run them ?
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline