Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1022675 // standalone_start (or activate frames)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9736L/63K).

// mainJar can also be a directory
sbool standalone_start(S[] args, S programName, File newUserDir, File mainJar, File unpackDir, S framesID) {
  System.out.println(programName + " starting.");
  ret true if javaXStandalone_init(args);
  if (newUserDir != null) setUserDir(newUserDir);
  ret true if standalone_activateFrames(framesID);
  vm_setResourceLoader(resourceLoaderFromJarOrDir(mainJar, unpackDir));
  print("Resource loader installed (" + f2s(mainJar) + " => " + f2s(unpackDir) + ")");
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022675
Snippet name: standalone_start (or activate frames)
Eternal ID of this version: #1022675/7
Text MD5: fc282d96f76a98257e314053d867a10b
Transpilation MD5: 1561233c2e79dcff58d37ff51be69de8
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-24 19:38:02
Source code size: 515 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 399
Version history: 6 change(s)
Referenced in: [show references]