Warning: session_start(): open(/var/lib/php/sessions/sess_22dfbmu1fo490job72qp6ditm7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
jdkSrcZip [1015927]

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

8
LINES

< > BotCompany Repo | #1015927 // jdkSrcZip

JavaX fragment (include)

static File jdkSrcZip() {
  File jdkLocation = new File(getSystemProperty("java.home"));
  if (eqic(jdkLocation.getName(), "jre")) // get our of jre subdir
    jdkLocation = parentFile(jdkLocation);
  ret oneOfTheFiles(
    newFile(jdkLocation, "src.zip"),
    newFile(jdkLocation, "lib/src.zip")); // JDK 10
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015927
Snippet name: jdkSrcZip
Eternal ID of this version: #1015927/2
Text MD5: 7f3a5cc250b3f219ede457653338f970
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 22:59:46
Source code size: 317 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 833 / 843
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)