This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Runtime issue finding external drivers
Actually there is a little flaw in this as it can't now find
gnu.io.RXTXCommDriver. Is this because the javax.comm.properties file
is external and it's looking for an external gnu.io.RXTXCommDriver
directory or because there is something wrong with the way I've built
RXTX and it just can't find it?
George
On Tue, 26 Oct 2004 14:38:34 +0100, George Palmer
<george.palmer@gmail.com> wrote:
> I fixed this by altering the source code of CommPortIdentifier to look
> in the current directory for the javax.comm.properties rather than
> java_home. It's not perfect but will suffice for now!
>
> George
>
>
>
>
> On Tue, 26 Oct 2004 12:33:28 +0100, Chris Burdess <dog@bluezoo.org> wrote:
> > George Palmer wrote:
> > > OK that sort of works, but I now get a new error:
> > > java.io.FileException:
> > > \datal\gcc\build\wingcc\lib\javax.comm.properties: The system cannot
> > > find the path specified.
> > >
> > > I am compiling by the ant code
> > >
> > > <exec executable="gcj" dir="${comm_source_dir}">
> > > <arg value="-g0"/>
> > > <arg value="-c"/>
> > > <arg line="--resource=javax.comm.properties"/>
> > > <arg line="-o ${resource_file}.o"/>
> > > <arg value="lib/javax.comm.properties"/>
> > > </exec>
> > >
> > > Which clearly doesn't work so any ideas?
> >
> > Have you tried putting javax.comm.properties in that location?
> > --
> > Chris Burdess
> >
>