Closed tomerr90 closed 1 year ago
Hi, please can you tell me your OS and JDK versions? Thanks.
Ah, sorry, I was sure I added the Java version. JDK 17, MacOS Ventura 13.4. The sandbox seems to work properly for some reason.
Please can you try running one of the sandbox examples and see if that works for you? Could you upload the jitwatch.out logfile (or email to me chris@chrisnewland.com) ? Thanks.
Sent. Yeah, like I wrote above, the sandbox example does work for some reason.
Hmm, nothing helpful in the log. Please can you show me your config window?
Hi are you sure your source files are in target/classes?
Hi, the source pane is for mounting .java files. Class files and jars are mounted in the lower section of the config pane.
I tried that as well but added the wrong "level", should have added src/main/java. It works now, thank you so much!
Glad I could help 😀
I have a project Im build and compiling using maven with the compiler and assembly plugins. Running on MacOS. I added the following to source locations:
But whatever I try it just wont read the source. Tried adding the relevant class file and java file directly (after changing the code to have the class in the default package) - Didnt work. Tried adding target/myPackage which contains the class files, also didnt work. Weird thing is that I cant see the source for java/jdk/sun classes either.
Running with: java --enable-preview --add-modules=jdk.incubator.vector -jar ui/target/jitwatch-ui-shaded.jar