Problem with RMI in Linux

From: pepegan (pepegan_at_iespana.es)
Date: 11/26/03


Date: 26 Nov 2003 02:33:41 -0800

I'm a newbie in the RMI programation.
I downloaded the sample code in Java tutorial in java.sun.com and
tried to compiled it. First, I compiled the interface class and was
going to compile the stub and skeleton. However, after typing "rmic -d
. engine.ComputeEngine" the following exception appeared:

ComputeEngine_Stub.java:40: error:Syntax error: found '{'
java.lang.Exception: exited with errorcode 1
            at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
            at java.lang.Throwable.<init>(Throwable.java:38)
            at java.lang.Exception.<init>(Exception.java:24)
        at kaffe.tools.compiler.Compiler_kjc.compile(Compiler_kjc.java:53) at
kaffe.rmi.rmic.RMIC.compile(RMIC.java:828)
        at kaffe.rmi.rmic.RMIC.processClass(RMIC.java:91) at
kaffe.rmi.rmic.RMIC.run(RMIC.java:74) at
kaffe.rmi.rmic.RMIC.main(RMIC.java:53)

I'm working with the lastest version of jdk for Linux.
Can you help me please??????



Relevant Pages

  • Re: String Manipulations
    ... >> Unicode although after taking your advice it worked as I originally ... >> within the same scope of the CString example that wont compile either. ... >> Perhaps my project environment needs to be adjusted a bit? ... >> sample code shouldn't be this cumbersome. ...
    (microsoft.public.vc.language)
  • Re: ExportXML
    ... The sample code, taken from Business Solutions Access 2007 VBA book, ... The message I get when I run from immediate window is: ... "Compile error: Argument not optional" ... Public Sub ExportQuery(strSource As String, strPath As String, strTarget ...
    (microsoft.public.access.modulesdaovba)
  • Question on VoIP sample program.
    ... I have a question about a VoIP sample code I'm try to compile. ... There were 31 link error at first and it was dropped to 13 after including some library files using the project menu. ... I've made basic applications in CORBA but not COM ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Overriding System Calls
    ... We have downloaded the sample code from this location ... as a command to compile this source code. ... But when we insmod this module,it gives just one error as ... syscall.o: unresolved symbol sys_call_table ...
    (comp.os.linux.development.system)
  • Re: COM Servers
    ... have changed, however, you can pretty much choose any sample code up to ... chapter 8 and it won't compile as is printed. ... I'm currently trying to compile and use the COM Server section listed as the ... But for a frustrated programmer trying to learn ...
    (microsoft.public.dotnet.languages.csharp)

Loading