Jump to content
Excelsior Forums

vh

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About vh

  • Rank
    Newbie
  • Birthday 01/01/01
  1. Hi, I have the same problem. I want to compile my exe file directly with the command prompt and jc. How can I write it in a .prj file? How should I declare these options? Thanks, Veronique.
  2. JET and RMI

    Hi, I've compiled it now directly with the jc Compiler( no GUI mode). It runs very well. I don't know why it doesn't run with the GUI. VH.
  3. JET and RMI

    Hi, I've try to compile and start the Excelsion-sample 'RemoteCalculator' located in %EXCELSIOR%/samples/RemoteCalculator I compile it with the script 'build.bat' Then, I try to start the Server with the script 'runServer'. I become the following exception: Oops! java.rmi.ConnectException: Connection refused to host: Localhost; nested exception is: java.net.ConnectException: Connection refused: connect Stack trace: java.rmi.ConnectException: Connection refused to host: Localhost; nested exception is: java.net.ConnectException: Connection refused: connect Caused by: java.net.ConnectException: Connection refused: connect I hope do you have an idea. Thanks, vh.
  4. JET and RMI

    Hi, I try to compile it with the option 'Enable JIT Compiler'. It doesn't run. Do you have another idea?
  5. JET and RMI

    Hi all, I'm to trying to compile a RMI Client/Server application with Excelsior JET. By starting the server I become the following exception: ServerImp.main:Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect By compiling a server.jar and a client.jar, it runs very well. I hope that someone could help me. Here my code: *****Server.java package com.test; import java.rmi.Remote; import java.rmi.RemoteException; public interface Server extends Remote { String index(String text) throws RemoteException; } *****ServerImp.java package com.test; import java.rmi.Naming; import java.rmi.RemoteException; import java.rmi.registry.*; import java.rmi.server.UnicastRemoteObject; public class ServerImp extends UnicastRemoteObject implements Server { public ServerImp() throws RemoteException { super(); } public String index(String text) { return "function index:"+text; } public static void main(String[] args) { System.setSecurityManager(null); try { LocateRegistry.createRegistry(1099); } catch (Exception ex) { } try { ServerImp engine = new ServerImp(); Naming.rebind("rmi://127.0.0.1/Server",engine); } catch (Exception ex) { } } } *****Client.java package com.test; import java.rmi.Naming; public class Client { public Client() { super(); } public static void main(String args[]) { System.setSecurityManager(null); Server server = (Server) Naming.lookup("//127.0.0.1/Server"); System.out.println(server.index(")")); } catch (Exception ex) { } } }
  6. Hi, I would like to know if you plan to develop a Solaris Version in the future. Veronique.
  7. Hi, I've found a solution. By clicking 'Include JET Runtime in Whole' in the 5th Step of JET PackII, I don't get the error anymore. I don't find the description of the different components. I need probably to add only one component. Veronique.
  8. Yes, I tested it in Jet PackII. My program try to read a file using the 'ObjectInputStream' class. This file contains 2 Vectors of self-defined Object. I get the following error now; class configured for MessageDigest(provider: SUN)cannot be found. sun.security.provider.SHA class configured for MessageDigest(provider: SUN)cannot be found. sun.security.provider.SHA Exception in thread "main" java.lang.NullPointerException Could someone help me? Veronique.
  9. I've written a little application with java Swing. I've generated an 'exe' with Excelsior Jet V3.15 Professional Version updated with the Maintenance Pack 3. By running the application, I get the following error; class configured for MessageDigest(provider: SUN)cannot be found sun.security.provider.SHA Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException I don't get the error on my computer where Excelsior Jet is installed. Could someone help me? Thanks, Veronique.
×