This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CLDC JES(java embedded server)  RSS feed

 
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!