How to install JDK 1.4 on FreeBSD 5.4

Achilleus Mantzios achill at matrix.gatewaynet.com
Thu Jul 21 07:08:05 GMT 2005


O madrus at bobcpp.co.id έγραψε στις Jul 21, 2005 :

> Sorry, i am newbie in Java FreeBSD,
> I don't understand how to install JDK 1.4 on FreeBSD 5.4,
> any body can help me ??? i try to install like Linux Installation
> but for Serial Communication still problem.
> Error message like this:

So you installed javacomms???

Try to
1) install jdk14 from ports like other people have told you
2)
# cd /usr/ports/comms/java-commapi-freebsd/
# make install

In contrast to Linux, FreeBSD native JavaComms work like a charm.

Let us know the outcome of your effort.


> -------------------------------
> Exception in thread "main" java.lang.UnsatisfiedLinkError: deviceOpen
>         at org.freebsd.io.comm.FreebsdSerial.deviceOpen(Native Method)
>         at org.freebsd.io.comm.FreebsdSerial.<init>(FreebsdSerial.java:115)
>         at org.freebsd.io.comm.FreebsdDriver.getCommPort
> (FreebsdDriver.java:111)
>         at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:627)
>         at SerialModule.initConnection(SerialModule.java:86)
>         at SerialThread.<init>(SerialThread.java:23)
>         at GSerialPro.main(GSerialPro.java:35)
> --------------------------------
> Thanks before.
> 
> Said Madrus
> Java FreeBSD Newbie
> 
> 
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> 

-- 
-Achilleus



More information about the freebsd-java mailing list