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).

1  
// returns true if you should exit
2  
// idempotent
3  
svoid javaXStandalone_minimal() {
4  
  if (javax() != null) ret;
5  
  getJavaXDirectly();
6  
  
7  
  // call(javax(), 'loadMyClasses); // for when jar file is modified while program is running
8  
  callOnLoadMethods(mc());
9  
  
10  
  //call(javax(), 'redirectSystemOutAndErr);
11  
  
12  
  // always make console to get the log, show it optionally
13  
  //setOpt(javax(), consoleOn := !boolPar noConsole(_));
14  
  //call(javax(), 'tryToOpenConsole, args);
15  
}

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: 96 / 136
Version history: 2 change(s)
Referenced in: [show references]