Link to home
Start Free TrialLog in
Avatar of JavaWizard
JavaWizard

asked on

Installing Java on FreeBSD with out root access

I have a virtual server account with all of this stuff http://servers.digitaldaze.com/   .....
the problem is I don't have root access and I am told that you can install java version 1.2.2 or greater with out root on this server. ...   I have run into many problems along the way, one being

===>  linux-jdk-1.3.1.03 : Your system is too old to use this bsd.port.mk. You need a fresh make world or an upgrade kit. Please go to http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions.


which was solved by replacing the expected version in the bsd.port.mk file which i had installed under my $HOME/usr/ports/MK  .... etc ....   now when i build i'm getting an error saying it can not write to the /var/db/...... folder which is owned by root......  Now i don't care if i emmulate linux jdk or build native threads but I need some version of java available 1.2.2 or greater to run tomcat for my web services which you will notice is not listed in the pre-installed packages in the link at the top.  I'd prefer to install this with out root access.  My other option is to pay the hosting company to do a custom install for $$$.   thanks for the help in advance.
ASKER CERTIFIED SOLUTION
Avatar of mglxxx
mglxxx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JavaWizard
JavaWizard

ASKER

Maybe i'm missing something but I thought that in order to use the linux emmulation for the linux jdk you need the javavmwrapper which it tried to install as one of the dependencies when building the port but failed because it couldn't write to /var/db/pkg because it was owned by root.     I have been told that it is possible to install all of this (the jdk, and tomcat) with out root access but i am doubtful.... maybe the question i should ask first is "Is this possible" and if so how?    
I didn't install any JVM wrapper in order to make
the JDK (IBM's 1.3.1) work on FreeBSD. The main issue
is that you cannot use any installation mechanism which
uses the BSD (or Linux) package mechnism.