Questions tagged [jdk-tools]

A set of programming tools that help developers to cteate, debug, maintain, or otherwise support other programs and applications in Java.

A set of programming tools that help developers to create, debug, maintain, or otherwise support other programs and applications in Java.

JDK tools home page: http://docs.oracle.com/javase/7/docs/technotes/tools/

6 questions
27
votes
6 answers

How to extract the file jre-9/lib/modules?

In JRE-9/lib directory (at least on Windows), there is a new file called modules whose size is about 107 MB. Is it possible to extract that file or maybe list java modules within it? I can see that a new tool called jmod is available at…
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
19
votes
4 answers

visualvm cannot see a java process launched from cygwin

If I start a java process in a cygwin console, and then launch visualVm, the later cannot see the former. If I start the same process in a Dos console visualvm sees it fine. I am in jdk1.6.0_25. This happens both in win7 32b, and in win7 64b with a…
Persimmonium
  • 15,593
  • 11
  • 47
  • 78
16
votes
3 answers

Missing Library com.sun.tools.attach

I've tried to follow this tutorial, but I have problem with imports. I got: The import com.sun.tools cannot be resolved in line import com.sun.tools.attach.VirtualMachine; I've tried to look for some info on Sun/Oracle website, but I have not…
alicjasalamon
  • 4,171
  • 15
  • 41
  • 65
5
votes
3 answers

Which API does Java's jps tool use internally?

I need to recreate the functionalities of the jps tool programmatically. I need to find out all Java running processes along with their id so I can attach to that process (similar to what JConsole does). I thought the VirtualMachine API would…
vladimir.vivien
  • 512
  • 1
  • 6
  • 8
3
votes
1 answer

jcmd - Meaning of last colum for `jcmd VM.flags -all`

Run following command to list all available jvm flags: jcmd 24468 VM.flags -all | less -N Then in last column, found following values (using JDK1.8, on linux): * product default value is the same on all platform, * pd product default value…
Eric
  • 22,183
  • 20
  • 145
  • 196
2
votes
0 answers

Maven fails with "Missing artifact jdk.tools:jdk.tools:jar:1.6"

I'm facing a Maven Dependency problem Missing artifact jdk.tools:jdk.tools:jar:1.6 I only have java 1.8.0_211 on my computer and all the settings in Eclipse are good (installedJREs, Build path, etc...). Can someone explain to me why Maven keeps…
Kuroq
  • 29
  • 5