Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CLDC JES(java embedded server)

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am trying to install jes on Pockect PC 2002 with the jeode JVM.

I uses a wrapper to start JES because the runJES.lnk is too great.
My wrapper
public static void main(String[] aArgs)
{
try
{
String ROOT = "/jes";
System.setErr(new PrintStream(new FileOutputStream(ROOT +"/err.txt")));
System.setOut(new PrintStream(new FileOutputStream(ROOT +"/out.txt")));
System.out.println("==>JES 2.0 for Pocket PC");
// load the system properties
FileInputStream oProperties = new FileInputStream(new File(ROOT +"/env.cfg"));
Properties op = new Properties();
op.load(oProperties);
oProperties.close();
String[] oArgs1 = {"myServices"};
com.sun.jes.impl.framework.Main.main(oArgs1);
System.out.println("==> New process");
}
catch(Exception oE)
{
oE.printStackTrace();
}
}
After the starting, i read in the err.txt file
Error invalid arguments: Bundles argument missing
Is there someone that used JES on Pocket PC?
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!