GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — https://github.com/uavorg/uavstack/issues/475 · windgoogle/uavstack@42e973e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • com.creditease.uav.helper/src/main/java/com/creditease/agent/helpers
    • JVMToolHelper.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎com.creditease.uav.helper/src/main/java/com/creditease/agent/helpers/JVMToolHelper.java‎

Copy file name to clipboardExpand all lines: com.creditease.uav.helper/src/main/java/com/creditease/agent/helpers/JVMToolHelper.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ private static void initJVMToolJarClassLoader() {
289289
String javaVersion = System.getProperty("java.version");
290290

291291
String tools = javaHome + File.separator + ".." + File.separator + "lib" + File.separator + "tools.jar";
292+
293+
if(!IOHelper.exists(tools)) {
294+
tools = javaHome + File.separator + "lib" + File.separator + "tools.jar";
295+
}
292296

293297
if (JVMToolClassloader == null) {
294298
synchronized (lock) {
@@ -320,6 +324,7 @@ private static void initJVMToolJarClassLoader() {
320324
}
321325
catch (Exception e) {
322326
// ignore
327+
e.printStackTrace();
323328
}
324329
}
325330
}
@@ -395,6 +400,7 @@ public static List<Map<String, String>> getAllJVMProcesses(String host) {
395400
}
396401
catch (Exception e) {
397402
// ignore
403+
e.printStackTrace();
398404
}
399405
}
400406

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.