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

15
LINES

< > BotCompany Repo | #1033414 // javaXStandalone_minimal - NO running of arbitrary programs, no server socket etc

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

Libraryless. Click here for Pure Java version (4673L/26K).

// returns true if you should exit
// idempotent
svoid javaXStandalone_minimal() {
  if (javax() != null) ret;
  getJavaXDirectly();
  
  // call(javax(), 'loadMyClasses); // for when jar file is modified while program is running
  callOnLoadMethods(mc());
  
  //call(javax(), 'redirectSystemOutAndErr);
  
  // always make console to get the log, show it optionally
  //setOpt(javax(), consoleOn := !boolPar noConsole(_));
  //call(javax(), 'tryToOpenConsole, args);
}

Author comment

Began life as a copy of #1022670

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033414
Snippet name: javaXStandalone_minimal - NO running of arbitrary programs, no server socket etc
Eternal ID of this version: #1033414/3
Text MD5: 95cbc4db1506633dd39e0ffc231eeb35
Transpilation MD5: c847b9296ccd7ba022db820663834d1f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 06:24:55
Source code size: 484 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 230
Version history: 2 change(s)
Referenced in: [show references]