Another Linux Compile problem

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Another Linux Compile problem

Post by msknight »

Hi Folks,

I've got a Java issue.

I'm on Ubuntu 10.04 64 bit. There don't appear to be any packges beginning sdk- in the repository any more (either that or I'm missing a source.)

I got the Java SE development kit from here....
https://cds.sun.com/is-bin/INTERSHOP.en ... TypeFilter
...but the installation didn't appear to put anything new in the /usr/lib/jvm directory. I still only have the java-6-openkjdk folder from attempting to install the Android development system in that location.

I do have an unpacked folder containing this...

Code: Select all

michelle@michelle-desktop:~/Downloads/jdk1.6.0_21$ ls -latotal 19048drwxr-xr-x 10 michelle michelle     4096 2010-10-04 06:31 .drwxr-xr-x 53 michelle michelle    12288 2010-10-04 06:33 ..drwxr-xr-x  2 michelle michelle     4096 2010-06-22 11:30 bin-r--r--r--  1 michelle michelle     3339 2010-06-22 09:37 COPYRIGHTdrwxr-xr-x  7 michelle michelle     4096 2010-06-22 11:31 dbdrwxr-xr-x 10 michelle michelle     4096 2010-06-22 11:31 demodrwxr-xr-x  3 michelle michelle     4096 2010-06-22 11:31 includedrwxr-xr-x  7 michelle michelle     4096 2010-10-04 06:31 jredrwxr-xr-x  3 michelle michelle     4096 2010-10-04 06:31 libdrwxr-xr-x  4 michelle michelle     4096 2010-06-22 11:31 man-r--r--r--  1 michelle michelle    28230 2010-06-22 09:37 README.html-r--r--r--  1 michelle michelle    25317 2010-06-22 09:37 README_ja.html-r--r--r--  1 michelle michelle    20663 2010-06-22 09:37 README_zh_CN.html-r--r--r--  1 michelle michelle     5271 2010-10-04 06:31 register.html-r--r--r--  1 michelle michelle     6793 2010-10-04 06:31 register_ja.html-r--r--r--  1 michelle michelle     4869 2010-10-04 06:31 register_zh_CN.htmldrwxr-xr-x  9 michelle michelle     4096 2010-06-22 11:31 sample-rw-r--r--  1 michelle michelle 19159548 2010-06-22 09:37 src.zip-r--r--r--  1 michelle michelle   183173 2010-06-22 09:37 THIRDPARTYLICENSEREADME.txtmichelle@michelle-desktop:~/Downloads/jdk1.6.0_21$  
...but I can't find an install routine in there.

Help please?
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: Another Linux Compile problem

Post by Aikimaniac »

i recommend to downgrade to 20 or update to 23 cause 21 was according to some forums somehow defective (i had for example issues with Eclipse with that build version)...
Image
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

OK - I'm going to be really dumb here - at least I am dumb when it comes to Java! - but how do I upgrade please?
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Another Linux Compile problem

Post by MELERIX »

Aikimaniac wrote:i recommend to downgrade to 20 or update to 23 cause 21 was according to some forums somehow defective (i had for example issues with Eclipse with that build version)...
these issues in Update 21 are already fixed now in the new build 1.6.0_21-b07.

so now if you download latest Update 21 from Java/Oracle website, it will works fine ;)
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

...so I just change JAVA HOME=/home/michelle/Downloads/jdk1.6.0_21
?
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: Another Linux Compile problem

Post by Aikimaniac »

MELERIX wrote:
Aikimaniac wrote:i recommend to downgrade to 20 or update to 23 cause 21 was according to some forums somehow defective (i had for example issues with Eclipse with that build version)...
these issues in Update 21 are already fixed now in the new build 1.6.0_21-b07.

so now if you download latest Update 21 from Java/Oracle website, it will works fine ;)
why 21 when 23 is out already ? :) even when build 01 :P..
Image
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Another Linux Compile problem

Post by MELERIX »

well, u23 is not released yet, only snapshot release :(
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Another Linux Compile problem

Post by _DS_ »

For easy installation use package system of your linux distributive. Sun distribution require manual install.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

The packages beginning sdk- are no longer in my Ubuntu package system. I guess I'm going to need to manually install what I've downloaded...

... now all I need to know is how! Any hints?
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
nBd
L2j Inner Circle
L2j Inner Circle
Posts: 350
Joined: Wed Jun 07, 2006 2:26 pm

Re: Another Linux Compile problem

Post by nBd »

msknight wrote:The packages beginning sdk- are no longer in my Ubuntu package system. I guess I'm going to need to manually install what I've downloaded...

... now all I need to know is how! Any hints?

1. sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
2. sudo aptitude update
3. sudo aptitude install sun-java6-jdk

Then you have to select it:

sudo update-alternatives --config java
<ZaKaX> Ohh nBd, you're so professianal with your analconda.
blacksea
Posts: 458
Joined: Fri Oct 05, 2007 1:29 am

Re: Another Linux Compile problem

Post by blacksea »

Michele open .bashrc
and add this :

Code: Select all

export PATH=/home/michelle/Downloads/jdk1.6.0_21/bin:${PATH}export JAVA_HOME=/home/michelle/Downloads/jdk1.6.0_21export PATH=${PATH}:/home/michelle/
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

Many thanks folks. I was on door duty at the camera club last night, so it was a late night for me. Plus I'm just off to work, so I'll give this a good go when I get back home tonight.

Many thanks for your help on this. I realise that when it comes to Java, that I'm a complete and utter novice and answering questions like this must be a real bore. Your help is greatly appreciated.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

I've got the Java installed, but now I can't find an "ant" in the L2_GameServer directory. Is there supposed to be one in there? How do I create it?
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Another Linux Compile problem

Post by DeGato »

man aptitude
sudo aptitude search ant
sudo aptitude install ant-... etc

Also this: _http://packages.ubuntu.com/ may help You.
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Re: Another Linux Compile problem

Post by msknight »

Many thanks. I'm up and running. Going to compile and install tonight and then start work on the dropcalc for any changes. I'm hoping that no more databases have been taken out to xml.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
Post Reply