Java error/question

2009-12-31 Thread Leslie Jensen



On the console I see a lot of warnings like this:

Cannot open /home/lib/amd64/libjavaplugin_nscp.so


I can find libjavaplugin_nscp.so in two places:

/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjavaplugin_nscp.so
/usr/local/jdk1.6.0/jre/lib/amd64/libjavaplugin_nscp.so


To get rid of the error I'm considering a symlink, but to which of the 
above should I point?


Both the diablo-jdk1.6.0 and jdk1.6.0 are installed as dependencies.


I would like your suggestion on how to fix this.

Thanks

Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java error.[solved]

2005-12-04 Thread Mehmet Fatih AKBULUT
thank you for your attention Gregory.
i think i got the error due to one missing one.
download and moved it to the /usr/ports/distfiles
and then tried to install again and succeeded.
Regards.
bye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Java error.

2005-12-02 Thread Mehmet Fatih AKBULUT
hi all.
i tried to install java on my freebsd5.4
but when installing got the error below.
any idea how to overcome this error ?


\
fi
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
identifier expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227:
')' expected
private static final class Aliases
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389:
identifier expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:390:
')' expected
private static final class Classes
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429:
identifier expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:430:
')' expected
private static final class Cache
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
cannot find symbol
symbol  : class TM
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
cannot find symbol
symbol  : class Java
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389:
cannot find symbol
symbol  : class TM
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389:
cannot find symbol
symbol  : class Java
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429:
cannot find symbol
symbol  : class TM
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
 ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429:
cannot find symbol
symbol  : class Java
location: class sun.nio.cs.StandardCharsets
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
^
../../../src/share/classes/java/io/ObjectStreamClass.java:869: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
return cons.newInstance(null);
^
../../../src/share/classes/java/io/ObjectStreamClass.java:949: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
readObjectNoDataMethod.invoke(obj, null);
   ^
../../../src/share/classes/java/io/ObjectStreamClass.java:977: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
return writeReplaceMethod.invoke(obj, null);
  ^
../../../src/share/classes/java/io/ObjectStreamClass.java:1006: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs 

Re: Java error.

2005-12-02 Thread Michael P. Soulier
On 12/2/05, Mehmet Fatih AKBULUT [EMAIL PROTECTED] wrote:
 hi all.
 i tried to install java on my freebsd5.4
 but when installing got the error below.
 any idea how to overcome this error ?

According to what I've read, the jdk1.5.0 port is in beta and not
currently recommended. I'm using 1.4.2 with no problems.

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


Re: Java error.

2005-12-02 Thread Gregory Nou

Mehmet Fatih AKBULUT wrote:

hi all.
i tried to install java on my freebsd5.4
but when installing got the error below.
any idea how to overcome this error ?


\
fi
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
identifier expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227:
')' expected
private static final class Aliases
 ^


The errors you get are really weird.
Maybe you should check if there isn't a quote () missing somewhere before.
I'm currently running jdk15 on current, and never had problems with it.
If you still have the problem, could you send me the file 
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java 
?

Could you also tell us which version of linux-jdk you have ?

Cheers,

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


Linux Mozilla and Java Error?

2004-06-28 Thread Henrik Hudson
Hey List-

I'm trying to get linux Mozilla to work the linux Java SDK. Linux Mozilla 
itself works fine and have Flash plugins working, but when I symlink to the 
Java JRE (the ns610-gcc3.2 one) I get an error on starting Mozilla.

[libgcc_s.so.1: cannot open shared object file: No such file or directory]

Now indeed, said file is no where to be found on the system. Am I missing a 
port / package? Do I need a RPM from somewhere?

System Info:
4.10 REL
linux-base (rh 7) and various other dependent rpm are installed.

Both Moz and Linux Moz work just fine, I would just like to have the Java 
applets for the occasional foray onto Yahoo games :)  I could just compile 
the native Java..but thought if I'm having the problem, so might others and 
see if we can fix it.

Thanks list.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

RTFM: Not just an acronym, it's the LAW!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]