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: 351 / 384
Version history: 1 change(s)
Referenced in: [show references]