Comments (8)
The build works fine for me. What JDK you use?
from visualvm.
Java 8u131
from visualvm.
VisualVM runs on JDK 7, so it should be build with JDK 7.
from visualvm.
I don't see how the JDK7 is relevant in this case because it looks like the ant build is not adding the required netbeans jar to the compile classpath. I'm having the exact same issue - I've not got netbeans installed due to corporate policy so am working with ant on the command line with JDK 8
from visualvm.
The problem is that you're missing a dependency on org.netbeans.lib.profiler.common in visualvm/core/nbproject/project.xml
you need this in that file:
<dependency>
<code-name-base>org.netbeans.lib.profiler.common</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>1</release-version>
<specification-version>1.10.1</specification-version>
</run-dependency>
</dependency>
from visualvm.
Please note that the README clearly states 'Use ... Oracle JDK 7 to build VisualVM ...'. Using JDK 7 the repository builds without errors and you don't need to change any dependencies.
In case you're using JDK 8 you have to update the dependencies, but you'll likely not be able to run the VisualVM using Java 7, which is a supported configuration - see https://visualvm.github.io/relnotes.html.
from visualvm.
The release notes say JDK7+ ... I would take the + to make 8 too. In any case, in my corporate environment I only have access to 8 as 7 is deprecated ... and my intent is to write a plugin for the visualVM which ships with the JDK8. Of course if I build with JDK 8 I don't expect to run with JDK 7.
I also don't really follow why JDK 7 can find the missing undeclared dependency when JDK 8 doesn't ... it would seem that JDK 8 is doing the right thing. But ... whatever, I was just trying to help the original poster :-/
from visualvm.
We just upgraded VisualVM dev. version to be built on top of latest NetBeans platform and profiler. It is now required to build it with JDK 8.
from visualvm.
Related Issues (20)
- VisualVM freezes for several minutes before showing the profiling info HOT 1
- Not able to open large heap dump files HOT 9
- [HeapViewer] slow computation of "Merged GC Roots" HOT 1
- VSCode Extension - add custom cpu profiler filter HOT 2
- How to change language
- VSCode Extension - JDK Path with Spaces not working HOT 2
- Open source code for Lamdas, support! HOT 1
- [HeapViewer] Displaying threads in Threads view is sometimes slow HOT 2
- Add the ability to choose UI Font Size. HOT 9
- VS Code Extension - Usability Issues on macOS HOT 1
- JDBC sampler is gone HOT 1
- Conflict between vscode visualvm extension and run test with coverage HOT 1
- Add the ability to group remote connections in the application tree
- StackOverflowError when starting HOT 3
- After installing VisualVM 2.1.8 on a Mac Apple M1 Pro, the “Perform GC” function cannot be used. HOT 16
- Invalid
- Use visualvm 2.1.8 to open visual gc to display "Not supported for this JVM" HOT 3
- Use visualvm 2.1.8 to open visual gc to display "Not supported for this JVM"
- Cannot locate java installation in specified jdkhome HOT 1
- The retained size of arrays does not include the retained size of it's elements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visualvm.