Re: JAVA and MOZILLA

2003-09-10 Thread David L
Ok, I got jdk13 installed from the ports, this is what I did

I first got rid of other versions of jdk as suggested by Simon, that didnt 
work. Then I had a look at the Makefile and noticed this line

JDK13DIR=   ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION}

so I installed linux-blackdown-jdk13 from ports and then tried to install 
jdk13, again it did not work. 

This time I had a better read of the makefile and decided to try changing 

MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \

to read the path of my linux jdk folder, it appears that without specifying 
otherwise, it looks in /usr/local/java which doesnt exist ( at least not on 
my system )

so I changed that line in the Makefile to read 

MAKE_ENV=   ALT_BOOTDIR="/usr/local/linux-sun-jdk1.3.1" \

and finally, it compiled without any further errors.

I then created a symlink to from the plugin to the mozilla directory and I now 
have java on mozilla. 
Thanks to all those that helped

Hope this helps someone else

Seeya

David
> >>Hi,
> >>I to am using Mozilla 1.4 ( I beleive I failed to mention that in my
> >> original post ) and I compiled it out of ports. I had heard that Java
> >> 1.3.1 worked well with Mozilla, so I wne to try to install it. However
> >> when I try I get the following.
> >>
> >>dl# cd /usr/ports/java/jdk13
> >>dl# ls
> >>Makefilefiles   pkg-message scripts
> >>distinfopkg-descr   pkg-plist   work
> >>dl# make package
> >>===>  Building for jdk-1.3.1p8_2
> >># Start of jdk build
> >>i386 Build started:   1.3.1-p8-n4458575-030909-18:44
> >>ERROR: Your BOOTDIR environment variable does not point
> >>   to a valid Java 2 SDK for bootstrapping this build.
> >>   A Java 2 SDK 1.3.1 build must be bootstrapped against any
> >>   1.3 build. Please update your ALT_BOOTDIR setting, or
> >>   just unset it, and start your build again.
> >
> >You need some working linux-java (I think you can use blackdown
> >and sun but I can't remember which version) to build the FreeBSD
> >java-port . You could search your Makefile for this.
> >
> >Uli.
>
> I tried separately linux-sun-jdk13 and linux-blackdown-jdk13, neither
> helped me to get past that danged ALT_BOOTDIR error message. Any way I
> can set the ALT_BOOTDIR or find out how to remove it?!
>
> Funny thing is that I was able to install jdk13 natively with no
> problems a month ago, then on another computer, this error keeps popping
> up. Same hardwares, same configuration. I remember in the past few
> years, sometimes it installed with no problems, sometimes the error
> keeps popping up. I have no idea what I did or what changed. G!
>
> Jonas
>
> >>Exiting because of the above error(s).
> >>gmake: *** [sanity] Error 1
> >>*** Error code 2
> >>
> >>Stop in /usr/ports/java/jdk13.
> >>dl#
> >>
> >>the make file in jdk13 has the following (I dont know if it of any
> >> relevence) MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \
> >>
> >>Did you have any of these issues when compiling jdk13?
> >>If you did, can you please let me know how you got around it.
> >>
> >>Thanks
> >>
> >>David
> >>
> >>___
> >>[EMAIL PROTECTED] mailing list
> >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
> >
> > +---+
> >
> > |Peter Ulrich Kruppa|
> > |
> >| Wuppertal |
> >|  Germany  |
> >
> >+---+
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-09 Thread Manalive

Hi,
I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original
post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked
well with Mozilla, so I wne to try to install it. However when I try I get
the following.
dl# cd /usr/ports/java/jdk13
dl# ls
Makefilefiles   pkg-message scripts
distinfopkg-descr   pkg-plist   work
dl# make package
===>  Building for jdk-1.3.1p8_2
# Start of jdk build
i386 Build started:   1.3.1-p8-n4458575-030909-18:44
ERROR: Your BOOTDIR environment variable does not point
  to a valid Java 2 SDK for bootstrapping this build.
  A Java 2 SDK 1.3.1 build must be bootstrapped against any
  1.3 build. Please update your ALT_BOOTDIR setting, or
  just unset it, and start your build again.
   

You need some working linux-java (I think you can use blackdown
and sun but I can't remember which version) to build the FreeBSD
java-port . You could search your Makefile for this.
Uli.
 

I tried separately linux-sun-jdk13 and linux-blackdown-jdk13, neither 
helped me to get past that danged ALT_BOOTDIR error message. Any way I 
can set the ALT_BOOTDIR or find out how to remove it?!

Funny thing is that I was able to install jdk13 natively with no 
problems a month ago, then on another computer, this error keeps popping 
up. Same hardwares, same configuration. I remember in the past few 
years, sometimes it installed with no problems, sometimes the error 
keeps popping up. I have no idea what I did or what changed. G!

Jonas

 

Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2
Stop in /usr/ports/java/jdk13.
dl#
the make file in jdk13 has the following (I dont know if it of any relevence)
MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \
Did you have any of these issues when compiling jdk13?
If you did, can you please let me know how you got around it.
Thanks

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
   

+---+
|Peter Ulrich Kruppa|
   | Wuppertal |
   |  Germany  |
   +---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-09 Thread Simon Barner
> > ERROR: Your BOOTDIR environment variable does not point
> >to a valid Java 2 SDK for bootstrapping this build.
> >A Java 2 SDK 1.3.1 build must be bootstrapped against any
> >1.3 build. Please update your ALT_BOOTDIR setting, or
> >just unset it, and start your build again.
> You need some working linux-java (I think you can use blackdown
> and sun but I can't remember which version) to build the FreeBSD
> java-port . You could search your Makefile for this.

Hmm, the jdk port should do all this on its own.

@OP: Do you have installed some old jdks - perhaps it will work if you
deinstall them (also the javawrapper port).

Simon


signature.asc
Description: Digital signature


Re: JAVA and MOZILLA

2003-09-09 Thread Peter Ulrich Kruppa
On Tue, 9 Sep 2003, David L wrote:

> Hi,
>   I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original
> post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked
> well with Mozilla, so I wne to try to install it. However when I try I get
> the following.
>
> dl# cd /usr/ports/java/jdk13
> dl# ls
> Makefilefiles   pkg-message scripts
> distinfopkg-descr   pkg-plist   work
> dl# make package
> ===>  Building for jdk-1.3.1p8_2
> # Start of jdk build
> i386 Build started:   1.3.1-p8-n4458575-030909-18:44
> ERROR: Your BOOTDIR environment variable does not point
>to a valid Java 2 SDK for bootstrapping this build.
>A Java 2 SDK 1.3.1 build must be bootstrapped against any
>1.3 build. Please update your ALT_BOOTDIR setting, or
>just unset it, and start your build again.
You need some working linux-java (I think you can use blackdown
and sun but I can't remember which version) to build the FreeBSD
java-port . You could search your Makefile for this.

Uli.


>
> Exiting because of the above error(s).
> gmake: *** [sanity] Error 1
> *** Error code 2
>
> Stop in /usr/ports/java/jdk13.
> dl#
>
> the make file in jdk13 has the following (I dont know if it of any relevence)
> MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \
>
> Did you have any of these issues when compiling jdk13?
> If you did, can you please let me know how you got around it.
>
> Thanks
>
> David
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-09 Thread David L
Hi, 
I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original 
post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked 
well with Mozilla, so I wne to try to install it. However when I try I get 
the following.

dl# cd /usr/ports/java/jdk13
dl# ls
Makefilefiles   pkg-message scripts
distinfopkg-descr   pkg-plist   work
dl# make package
===>  Building for jdk-1.3.1p8_2
# Start of jdk build
i386 Build started:   1.3.1-p8-n4458575-030909-18:44
ERROR: Your BOOTDIR environment variable does not point
   to a valid Java 2 SDK for bootstrapping this build.
   A Java 2 SDK 1.3.1 build must be bootstrapped against any
   1.3 build. Please update your ALT_BOOTDIR setting, or
   just unset it, and start your build again.

Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13.
dl#

the make file in jdk13 has the following (I dont know if it of any relevence)
MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \

Did you have any of these issues when compiling jdk13?
If you did, can you please let me know how you got around it.

Thanks

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-08 Thread Simon Barner
Hi,

I am using mozilla 1.4 and Java 1.3.1 quite happily here (both compiled
from the ports collection).

If you don't want to use the ports but pre-compiled binaries, then you
should not mix Linux and FreeBSD binaries and those from different gcc
versions.

Simon


signature.asc
Description: Digital signature


Re: JAVA and MOZILLA

2003-09-08 Thread David L
On Tue, 9 Sep 2003 01:18 am, you wrote:
> On Mon, Sep 08, 2003 at 08:04:08PM +1000, David L wrote:
> > I have been trying for quite some tiime to get Mozilla a Java Plugin that
> > it will actually use.
>
> I am also trying to get Java working but for Opera. I know from my past
> that the jdk1x port worked. So my first guess is that you don't want to
> use the linux port. I am currenly waiting for fixes in the 1.4 port.
>
> I also notice something written about Mozilla en Java in the handbook of
> FreeBSD.
Yes, I did see the section in the handbook on getting browsersd set up but the 
procedudre that it outlines for getting  java to work doesnt seem to work. 
The flash plugin works fine, but th java one gives me those errors.

Thanks, good luck getting it to work on opera

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-08 Thread Peter Ulrich Kruppa
On Mon, 8 Sep 2003, David L wrote:

> I have been trying for quite some tiime to get Mozilla a Java Plugin that it
> will actually use. I have tried the linux-xun-jdk versions 1.3.1 1.4.1 &
> 1.4.2 , konqueror web browser uses these succesfully, however I symlink
> /usr/local/linux-sun-jdk1.4.1/jre/plugin/i386/ns600/libjavapluginoji.so to
> /usr/X11R6/lib/mozilla/plugin/ and it wont accept it. I try the same with the
> native JDK1.4.1 however in /usr/local/jdk1.4.1/jre/lib/i386/native_threads
> there is only libhpi.so wich doesnt do anything.
One issue might be that recent versions of mozilla need a gcc3.2
compiled jre. Please have a look at the release notes on
www.mozilla.org .

I can run linux mozilla1.5b binaries with linux-sun-jdk1.4.2 from
ports (on a -CURRENT machine).

Perhaps this helps?

Uli.

>
> I have also tried
> /usr/local/diablo-jdk1.3.1/jre/plugin/i386/ns600/libjavapluginoji.so without
> any succes.
>
>  I have a whole lot of other plugins that work perfectly , shockwave, mplayer,
> acrobat , flash, etc, etc
> However I have not been able to get Java to work on Mozilla ever
>
> Currently I have the diablo-jdk plugin symlinked into the mozilla plugin
> directory and this is the error I get when I star mozilla in a terminal
> window
>
> %mozilla &
> [1] 38656
> %No running window found.
> LoadPlugin: failed to initialize shared library
> /usr/local/diablo-jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
> [/usr/local/diablo-jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so:
> Undefined symbol "_vt$17nsGetServiceByCID"]
>
> any help, links, abuse , will be greatly appreciated.
>
> Thanks
>
> David Lodeiro
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-08 Thread Alex de Kruijff
On Mon, Sep 08, 2003 at 08:04:08PM +1000, David L wrote:
> I have been trying for quite some tiime to get Mozilla a Java Plugin that it 
> will actually use. 

I am also trying to get Java working but for Opera. I know from my past
that the jdk1x port worked. So my first guess is that you don't want to
use the linux port. I am currenly waiting for fixes in the 1.4 port.

I also notice something written about Mozilla en Java in the handbook of
FreeBSD.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Java and mozilla

2003-03-06 Thread Lin Jianfong
Also make sure that native FBSD mozilla only works with native FBSD java, 
the linux version mozilla won't work with native FBSD java and vice versa.

From: Adam Stroud <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Java and mozilla
Date: Wed, 5 Mar 2003 22:30:22 -0500
Can someone tell me how to get java working with mozilla under Freebsd.  I
have installed the jre from the ports collection, but I cant get java 
support
in any browser working (opera, mozilla or konqueror)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Java and mozilla

2003-03-06 Thread Ruben de Groot
On Wed, Mar 05, 2003 at 10:30:22PM -0500, Adam Stroud typed:
> Can someone tell me how to get java working with mozilla under Freebsd.  I 
> have installed the jre from the ports collection, but I cant get java support 
> in any browser working (opera, mozilla or konqueror)

Creating a symlink:

ln -s ${JAVA_HOME}/plugin/i386/ns600/libjavaplugin_oji.so 
${HOME}/.mozilla/plugins/libjavaplugin.so

got the plugin working for me.

> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message