You are not logged in.

#1 2011-10-18 23:11:23

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

What is the best jre for minecraft?

I only ask because this is my first time using arch linux, and I can't seem to find a package for sun java. Based on that I wish to know if someone know of the best Java jre for minecraft in terms of resource efficiency.

Before Arch Linux I have used Gentoo, Ubuntu, Linux Mint, and Slackware.(Well mostly slackware.)

Last edited by darkstarbyte (2011-10-18 23:12:10)

Offline

#2 2011-10-18 23:14:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What is the best jre for minecraft?

Offline

#3 2011-10-19 00:21:02

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

Re: What is the best jre for minecraft?

How would I install openjdk?

Offline

#4 2011-10-19 00:23:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What is the best jre for minecraft?

'pacman -S openjdk6'
jre7-openjdk and jdk7-openjdk are in [testing]

I have absolutely no idea which one of them works best w/ minecraft.

Offline

#5 2011-10-19 00:25:41

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

Re: What is the best jre for minecraft?

There in testing, that would explain why I can't install them thanks.

Offline

#6 2011-10-19 00:32:30

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

Re: What is the best jre for minecraft?

Just because I am a newbie, and you know much more than me, what file would I edit, to add the testing repository?

Last edited by darkstarbyte (2011-10-19 00:33:18)

Offline

#7 2011-10-19 00:46:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What is the best jre for minecraft?

darkstarbyte wrote:

Just because I am a newbie, and you know much more than me, what file would I edit, to add the testing repository?

You need to read the wiki, searching the wiki for 'testing' shows you https://wiki.archlinux.org/index.php/Te … testing.5D

I would advise you against enabling the testing repos. Yeah, I know there are some fun packages there but you need to be able to handle them on your own i.e. by reading the wiki and the mailing list. I think you're trying to get too far too fast. Once you learn managing package updates (and downgrades) you can safely progress to [testing] and beyond.

Offline

#8 2011-10-19 02:14:27

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

Re: What is the best jre for minecraft?

I can handle broken packages, but I have just began to use pacman. If pacman works like slackwares package manager then this will be easy, but if it is like gentoos package manager this is going to be a nightmare. I have run into a major bug in portage, that required me to reinstall gentoo. It had something to do with portage not liking you changing profiles.

Last edited by darkstarbyte (2011-10-19 02:17:10)

Offline

#9 2011-10-19 02:27:47

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: What is the best jre for minecraft?

It's more along the lines of "if you don't know how to enable testing, then testing is not for you." It's not a nightmare unless you don't know what you are doing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#10 2011-10-19 15:25:35

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: What is the best jre for minecraft?

I haven't tried to compare the versions in testing but for some reason the open source jre always made minecraft work better than the Sun one did for me

Offline

#11 2011-10-19 22:37:06

darkstarbyte
Member
Registered: 2011-10-18
Posts: 6

Re: What is the best jre for minecraft?

I added testing broke pacman, then downgraded it. This is the first time a broke a package manager and could fix it within five minutes.

As for minecraft I keep getting an error from minecraft suggesting it does not like my video drivers or something opengl related. I am thinking it has to do with my integrated intel graphics chip. I looked it up and it seems it is not well documented by intel and that the one for windows also are bad. I talked to other people who told me that they improve the graphics drivers every release of the kernel. I am thinking I will install or compile my own kernel, once 3.1 releases.

Offline

#12 2011-10-20 09:57:32

Companion
Member
Registered: 2011-09-22
Posts: 7

Re: What is the best jre for minecraft?

karol wrote:

'pacman -S openjdk6'
jre7-openjdk and jdk7-openjdk are in [testing]

I have absolutely no idea which one of them works best w/ minecraft.

It is pacman -Syu openjdk6

Offline

#13 2011-10-20 15:41:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What is the best jre for minecraft?

Companion wrote:
karol wrote:

'pacman -S openjdk6'
jre7-openjdk and jdk7-openjdk are in [testing]

I have absolutely no idea which one of them works best w/ minecraft.

It is pacman -Syu openjdk6

You mean that this version works better for you?

Offline

#14 2011-10-20 16:06:59

Companion
Member
Registered: 2011-09-22
Posts: 7

Re: What is the best jre for minecraft?

karol wrote:
Companion wrote:
karol wrote:

'pacman -S openjdk6'
jre7-openjdk and jdk7-openjdk are in [testing]

I have absolutely no idea which one of them works best w/ minecraft.

It is pacman -Syu openjdk6

You mean that this version works better for you?

I am reffering to do pacman -Syu instead of pacman -S

Some times packages break when using only -S

I run Minecraft excelent under Oracle JDK (Former known as Sun Java) and it runs excelent and had no bad experience with it and works smoothly.
You can download & run it straight from AUR and should have no problem running MC.

Further notes: Minecraft only runs trough Oracle Java and not OpenJDK.

Here is a small guide (NOTE EXECUTE IT AS USER!)

Open terminal:

Installing required packages
$ sudo pacman -Syu lynx

Making the structure
$ cd ~/
$ mkdir aur
$ cd ~/aur/

Getting the resources
$ wget http://aur.archlinux.org/packages/jr/jre/jre.tar.gz
$ tar -xvf jre.tar.gz
$ cd jre

Building the package
$ makepkg

Installing the package
$ sudo pacman -U jre-7-1-x86_64.pkg.tar.xz
$ . /etc/profile.d/jre.sh

====EOF=====

now download Minecraft into your home directory

and open console and run trough the command:  java -Xmx1024M -Xms512M -cp Minecraft.jar

Last edited by Companion (2011-10-20 16:21:43)

Offline

#15 2011-10-20 16:14:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What is the best jre for minecraft?

Companion wrote:
karol wrote:
Companion wrote:

It is pacman -Syu openjdk6

You mean that this version works better for you?

I am reffering to do pacman -Syu instead of pacman -S

Some times packages break when using only -S

You should always make sure your system is up to date before installing new packages.

Offline

#16 2011-10-20 16:21:02

Companion
Member
Registered: 2011-09-22
Posts: 7

Re: What is the best jre for minecraft?

karol wrote:
Companion wrote:
karol wrote:

You mean that this version works better for you?

I am reffering to do pacman -Syu instead of pacman -S

Some times packages break when using only -S

You should always make sure your system is up to date before installing new packages.

Yep, also never install trough -S but -Syu to avoid breaking packages ;P

Offline

#17 2011-10-20 16:25:44

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: What is the best jre for minecraft?

Companion wrote:

Wall of text

We do have a wiki that explains it all.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#18 2011-10-22 09:53:30

VOT Productions
Member
Registered: 2011-10-22
Posts: 47

Re: What is the best jre for minecraft?

Guys, Companion is wrong. I run Minecraft on OpenJDK with no problems
I have like 30 fps with OptiFine for Minecraft. I think Oracle Java is the way to go if you want the full FPS your GPU can handle.

Offline

Board footer

Powered by FluxBB