Installing Java on FreeBSD with out root access

I have a virtual server account with all of this stuff   .....
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- : Your system is too old to use this You need a fresh make world or an upgrade kit. Please go to or a mirror site and follow the instructions.

which was solved by replacing the expected version in the 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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You could try to do the install manually without
using the ports system.
Get a JDK from Sun which can be installed without
using rpm, e.g. the 'Linux self extracting file' for
JDK 1.3.1. Follow instructions to do the install.
Now you need to tell FreeBSD that the executable you
just installed are Linux executables.
for how to do this.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JavaWizardAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.