Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to use Java Visual VM. It's a software which helps you to check your Heap-Memory load. It also provides more functions. But those are not important for me.
The author of my beginner java book says that Java Visual VM is included in Java SE 9. I should be able to find the exe. in the bin folder of my JDK-folder. I tried to use this software and include it in Eclipse, by following the instructions of my book, but it does not work. I can not find the exe of Java Visual VM in my bin folder of my JDK. I have JDK 14 point something.
I hope someone can help me.
From this link : https://visualvm.github.io/download.html
We learn it is no longer included starting java 9
VisualVM has also been distributed in Oracle JDK 6~8 as Java VisualVM.
It has been discontinued in Oracle JDK 9. See the Upgrading Java
VisualVM page to learn how to upgrade to the latest VisualVM.
And this is also a download link, so please help yourself and get the tool ;)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
New user here. I have just recently started learning Java programming. Can someone explain in their own words what JDK and IntelliJ have to do for Java programming? I did google, but the answers were not satisfying.
from Wikipedia, Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. JDK or Java Development Kit is a set of tools needed for developing a Java Application, like compiler, interpreter and other tools. For writing a Java program you can use any text editor and save your files with .java extension.
At older times people used to type code in basic editors like notepad.
But now things has changed. To easily understand your code there are some softwares which can format your code, highlight syntax, compile and run your project in just one click, Find your errors at the same time writing the code and many more. A software like that is called an IDE or Integrated Development Environment. There are many IDEs available now and IntelliJ is one of them. Other than IntelliJ, there are many IDes like
Eclipse
NetBeans
BlueJ
DrJava
JDeveloper
and many more
I think now your doubt is cleared.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am trying to launch JMeter through the BAT file on a windows machine but I am getting the following error:
Not able to find Java executable or version. Please check your Java installation.
errorlevel=2
Press any key to continue . . .
I have set the java path earlier and this was working perfectly fine earlier. can anyone suggest me how to fix this issue?
The message is telling you there is no Java in the path, which you can check by typing in a command line:
java -version
So you need to install JDK 8 or 11 , you can choose Oracle JDK or Open JDK.
Also check you use last JMeter version which is 5.0
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have an application that's built in Java 10. Most users only have Java 8, so they would need to download Java 10 in order to use the application.
Would it be possible to make a launcher that could download Java 10 for them so they wouldn't need to think about that?
Since Java 9, there is a new tool named jlink that you can use to create a custom Java runtime environment with exactly the parts (modules) that your program needs. You could use this for your program, so that your users don't need to have a pre-installed Java runtime environment at all - you would give them the custom runtime environment included with your game.
Another possibility is to try to compile your program using JDK 8 - you can still download JDK 8 from Oracle. Depending on how you wrote your program, you might need to change a few things in your code to make it compile and run on Java 8.
You can distribute your app with JRE (i.e. that's what JetBrains do with their IDE's).
Official Java documentation about this solution:
https://docs.oracle.com/javase/10/deploy/self-contained-application-packaging.htm
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
At this point, I've pretty much had it with Netbeans. I can't seem to get it to work with Tomcat out of the box. Even downloading Tomcat and adding it to Netbeans doesn't work - I keep getting a pop-up asking for authentication, which I enter but yet it comes back again and again and again. Looked all over the internet for an answer, but everything just leads to nowhere.
Can anyone recommend a better IDE? I know of Eclipse, but I've never used it before. Is that any better than Netbeans?
Thanks.
I also suggest Eclipse, I've used it a for long time and never had issues with it.
Currently on my current job, we are using IBM's Rational Software Architect for WebSphere, which is basically Eclipse under an IBM name with some customizations for WebSphere (and a huge price tag).
You can Try Eclipse(https://www.eclipse.org/) or IntelliJ IDEA comminity Edition (http://www.jetbrains.com/idea/)
Can anyone recommend a better IDE?
There is no such thing as a better IDE, the answer to that is opinion based.All IDEs have their pros and cons.
That said, there is a special Eclipse IDE for Java EE Developers You can download it at the official eclipse website
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i'm using Netbeans on Ubuntu, when i write top command i notice that Java causes like 100%+ cpu usage. Is there anything to do to speed up Netbeans ? can i download another JRE on ubuntu to speed it up (i'm using OpenJDK).
Thanks .
Another item that helps me, apart from replacing OpenJDK with SunJDK is the "Scanning Sources" which can be disabled if you goto Tools -> Options -> Misc -> Files and uncheck the Enable "auto-scanning" of sources.
I am not 100% sure what that option does, but it speeds up my projects. Also I would try NetBeans 7, they have made massive leaps and bounds in the newer versions from the older (not knowing what version you are using).
Yes, it's well known that Netbeans runs slower with OpenJDK.
Your question has been answered on AskUbuntu before:
https://askubuntu.com/questions/5567/how-to-install-the-sun-java-jdk
Enable the partner repository and then install Sun Java with:
sudo apt-get install sun-java6-jdk
I would:
Replace OpenJDK with Sun's JDK. OpenJDK's performance is still not upto par.
I would read this (a bit dated, but most of works with some changes).