iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-08-2004, 04:37 AM
amorphic8's Avatar
WebProWorld Member
 
Join Date: Oct 2003
Location: San Jose
Posts: 69
amorphic8 RepRank 0
Default Java 1.4.1 on FreeBSD?

I am running a webserver on FreeBSD and am trying to install a web cam package for a new client that requires Java 1.4.1. I am not that familiar with the setup and command-line lingo of Unix as of yet, but I am learning.

I contacted the company from which I am leasing the server and asked if they could help. They said that they could not find a 1.4.1 version of Java for this platform so they installed 1.3.1 instead.

I haven't tried it yet to see if it would work, but the web cam application specifically stated that it requires 1.4.1. Does anyone have some information on this? Does Java 1.4.1 exist for FreeBSD? and if so, is it easy to intsall/upgrade?
__________________
amorphic8
http://www.amorphicmedia.com
Reply With Quote
  #2 (permalink)  
Old 07-08-2004, 06:38 PM
netman4ttm's Avatar
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Virginia
Posts: 331
netman4ttm RepRank 1
Default

BSD comes with a Linux compatibilty setup. That might help.
The Linux install looks like this

download the sdk from SUN

ussually named j2sdk [version number]-linux.i386.bin

as root type chmod 0700 j2sdk* (to make it executable)
then ./j2sdk*
that will take you through licensing and then unpack the java sdk in /usr/java/j2 etc. etc (you will need to write down where this file went.

Next step

cd /etc/profile.d and create a file called java.sh
the contents of java.sh will be
JAVA_HOME=/usr/java/j2 (where ever it went)
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

Logout
login
type javac at the command prompt
if there is a responce other than "what are you talking about" you got it.

CAVEAT THIS IS A LINUX SOLUTION AND I HAVE NO IDEA IF IT WILL WORK WITH BSD

This is an issue that a Unix/Linux/BSD users group would be able to answer and NY NJ probably has a ton of those people available.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:44 PM.



Search Engine Optimization by vBSEO 3.3.0