public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Novice question on gcj - Error finding java imports
       [not found] ` <AANLkTi=_G3+Mxx2cL0n-BCGm_tOH_znmtWUAGGFk3dtv@mail.gmail.com>
@ 2010-10-22 17:38   ` Andrew Haley
  2010-10-25 17:26     ` Vincent Lim
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Haley @ 2010-10-22 17:38 UTC (permalink / raw)
  To: java; +Cc: Vincent Lim

On 10/22/2010 06:30 PM, Vincent Lim wrote:

> I have previously posted a question on the use of GCJ and has
> progressed somewhat on my own but I have hit another roadblock.
> My attempts to compile the software lead to reference not found for
> the imported jcifs classes.
> 
> Googling around seems to indicate that I need to compile the
> jcifs-1.3.14.jar before I can use it for runtime linking instead of
> just adding it into the classpath.
> 
> This is where I got confused as I am using a Windows x386 MingGW
> version of GCJ to compile my software.  Is the steps for Linux, ie
> compile .jar to .so and setup a LD applicable?
> 
> Can someone this point the way?
> 
> I originally attach the source and jar in the form of a 7-zip package
> but the mail daemon rejected it as it exceed 400K bytes.
> 1. Uncompress using 7-zip into any directory.
> 2. Run build.bat that executes the command that I use to attempt to
> build my software.

I have your package, but I don't really have the time to debug it all.
I don't have Windows.

Is it really impossible for you to make a smaller test case that shows
the problem?

Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Novice question on gcj - Error finding java imports
  2010-10-22 17:38   ` Novice question on gcj - Error finding java imports Andrew Haley
@ 2010-10-25 17:26     ` Vincent Lim
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Lim @ 2010-10-25 17:26 UTC (permalink / raw)
  To: java

[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]

Hello All,

I have focus the question to the key problem.  It's packed into the
7zip compressed attachment.
(1) build.bat that contains the one line command to build the java application.
(2) TestJcifs.java class that triggers the problem with import of the jcifs*.jar
(3) jifs-1.3.14.jar that contains the classes to be imported into the TestJcifs.

TIA.
Vincent


On Sat, Oct 23, 2010 at 1:38 AM, Andrew Haley <aph@redhat.com> wrote:
> On 10/22/2010 06:30 PM, Vincent Lim wrote:
>
>> I have previously posted a question on the use of GCJ and has
>> progressed somewhat on my own but I have hit another roadblock.
>> My attempts to compile the software lead to reference not found for
>> the imported jcifs classes.
>>
>> Googling around seems to indicate that I need to compile the
>> jcifs-1.3.14.jar before I can use it for runtime linking instead of
>> just adding it into the classpath.
>>
>> This is where I got confused as I am using a Windows x386 MingGW
>> version of GCJ to compile my software.  Is the steps for Linux, ie
>> compile .jar to .so and setup a LD applicable?
>>
>> Can someone this point the way?
>>
>> I originally attach the source and jar in the form of a 7-zip package
>> but the mail daemon rejected it as it exceed 400K bytes.
>> 1. Uncompress using 7-zip into any directory.
>> 2. Run build.bat that executes the command that I use to attempt to
>> build my software.
>
> I have your package, but I don't really have the time to debug it all.
> I don't have Windows.
>
> Is it really impossible for you to make a smaller test case that shows
> the problem?
>
> Andrew.
>
>

[-- Attachment #2: testcase.7z --]
[-- Type: application/octet-stream, Size: 368386 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-25 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTinEHLwwe1M2PPLkhp=vQUEW5Rwyw2P4z7JD+Kze@mail.gmail.com>
     [not found] ` <AANLkTi=_G3+Mxx2cL0n-BCGm_tOH_znmtWUAGGFk3dtv@mail.gmail.com>
2010-10-22 17:38   ` Novice question on gcj - Error finding java imports Andrew Haley
2010-10-25 17:26     ` Vincent Lim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).