Java jre or jdk must be available

How to resolve “A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run SapNetweaverDeveloperStudio. No Java Virtual machine was found after searching the following locations:”

Applies to: Created while working with SAP NWDS7.3 SP09 PAT00 but the document is relevant for other Versions, SP and Patch levels.

Summary : Developers when running the NWDS for the first time may get an error – ”A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run SapNetweaverDeveloperStudio. No Java Virtual machine was found after searching the following locations:” The document shows you how to overcome the problem by understanding the root cause and resolving it.

Author: Amol Gupta

Company: Capgemini Consulting

Created on: 9 May 2013

Читайте также:  Внедрение мультимедиа в html

Author Bio: Amol Gupta is working with Capgemini Consulting as a Senior SAP Consultant. He has been working with SAP BPM, Web Dynpro Java, Enterprise Portal, NWDI, MDM and Interactive forms for WebDynpro Java. Amol is a Sun Certified Java Programmer (SCJP) and Certified Scrum Master (CSM).

Prerequisites: Developers should be aware of JDK/JRE and JDK installation and basic windows file system navigation and file modification. You should have JDK and SAP NWDS installation files.

Outcome: Developers will be able to run the SAP NWDS and get rid of the error and will understand the intricacies of installing a 32 bit JDK on a 32 bit or 64 bit Windows machine.

Problem: Developers are not able to launch the SAP NWDS get the following error.

”A Java Runtime Environment (JRE) or Java Development Kit(JDK) must be available in order to run SapNetweaverDeveloperStudio. No Java Virtual machine was found after searching the following locations:”

Error.jpg

Step 1: You should have a valid JDK 1.6 installed on your desktop. If you don’t have one, please install one from www.java.sun.com . Oracle now owns Java after taking it over from Sun Microsystems. The old link still works fine and will redirect you to the latest Oracle Java page.

NOTE : Version of JDK required may vary with the NWDS version, please confirm the version of JDK required for your version of NWDS. Do not install 64 bit JDK. Install 32 bit JDK only even if your operating system is a 64 bit machine. 32 bit JDK works just fine on 32 bit and 64 bit operating system alike. On 64 bit Windows machines there are two versions of program files –

  • Program Files – The 64 bit applications are installed in this folder.
  • Program Files (x86) – The 32 bit applications are installed in this folder.

You may download your version of JDK from the following link for downloading Archived JDKs –

Go to the downloads section at the end of this document to get version specific links for JDK download.

The JDK will be installed in either of the following folders-

STEP 2: Note down the path to the bin directory, which should somewhat look like –

– C:\Program Files\Java\jdk1.6.0_35 or

– C:\Program Files (x86)\Java\jdk1.6.0_35

NOTE – NWDS uses the javaw.exe hosted in the bin directory.

/wp-content/uploads/2013/05/java_filesystem_215134.jpg

/wp-content/uploads/2013/05/filesystem_215138.jpg

STEP 3 : Open the SapNetweaverDeveloperStudio.ini file. This file is located with the SapNetweaverDeveloperStudio.exe file in the Eclipse folder.

In my case there is an entry –
-vm C:\Program Files (x86)\Java\jdk1.6.0_35\bin
which should have been –
-vm C:\Program Files\Java\jdk1.6.0_35\bin
because of which the SapNetweaverDeveloperStudio.exe was not able to find the javaw.exe to launch the SAP NWDS.

Make the change save and close the SapNetweaverDeveloperStudio.ini and double click on the SapNetweaverDeveloperStudio.exe file. The SAP NWDS should run just fine.

Downloads-
NWDS download

Java SE 5.0 Downloads

Java SE 6 Downloads

Java SE 7 Downloads

Abreviations:
NWDS – Netweaver Developer Studio
JDK – Java Development Kit
JRE- Java Runtime Environment

Request: Please let me know your feedback and if you would like me add any more information to the article via your comments below. Think green and avoid printing this document.

Источник

Java jre or jdk must be available

  • A quick intro to the MACH architecture strategy While not particularly prescriptive, alignment with a MACH architecture strategy can help software teams ensure application .
  • How to maintain polyglot persistence for microservices Managing microservice data may be difficult without polyglot persistence in place. Examine how the strategy works, its challenges.
  • Top developer relations trends for building stronger teams Learn about enterprise trends for optimizing software engineering practices, including developer relations, API use, community .
  • The basics of implementing an API testing framework With an increasing need for API testing, having an efficient test strategy is a big concern for testers. How can teams evaluate .
  • The potential of ChatGPT for software testing ChatGPT can help software testers write tests and plan coverage. How can teams anticipate both AI’s future testing capabilities .
  • Retail companies gain DORA metrics ROI from specialist tools DORA metrics and other measures of engineering efficiency are popping up in add-ons to existing DevOps tools. But third-party .
  • How to create and manage Amazon EBS snapshots via AWS CLI EBS snapshots are an essential part of any data backup and recovery strategy in EC2-based deployments. Become familiar with how .
  • Prices for cloud infrastructure soar 30% Tough macroeconomic conditions as well as high average selling prices for cloud computing and storage servers have forced .
  • Deploy a low-latency app with AWS Local Zones in 5 steps Once you decide AWS Local Zones are right for your application, it’s time for deployment. Follow along in this step-by-step video.
  • Multiple Adobe ColdFusion flaws exploited in the wild One of the Adobe ColdFusion flaws exploited in the wild, CVE-2023-38203, was a zero-day bug that security vendor Project .
  • Ransomware case study: Recovery can be painful In ransomware attacks, backups can save the day and the data. Even so, recovery can still be expensive and painful, depending on .
  • Supercloud security concerns foreshadow concept’s adoption Supercloud lets applications work together across multiple cloud environments, but organizations must pay particular attention to.
  • AWS Control Tower aims to simplify multi-account management Many organizations struggle to manage their vast collection of AWS accounts, but Control Tower can help. The service automates .
  • Break down the Amazon EKS pricing model There are several important variables within the Amazon EKS pricing model. Dig into the numbers to ensure you deploy the service .
  • Compare EKS vs. self-managed Kubernetes on AWS AWS users face a choice when deploying Kubernetes: run it themselves on EC2 or let Amazon do the heavy lifting with EKS. See .

Источник

How to fix JRE or JDK must be available in order to run Eclipse problem

While installing Eclipse on your system, you have came across a pop-up dialog preventing you from setting up the Eclipse environment. The dialog says:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after a search following locations:… Javaw.exe in your current PATH “.

eclipse JDK

So to resolve ” no java virtual machine was found eclipse … javaw.exe in your current path ” , do the following steps :

1) Download Java Development Kit first from here .

2) Locate javaw.exe file at ” C:\Program Files\Java\jdk-12\bin ”

eclipse 3 1

3) Copy the path and use the short command “Window+ Pause” to open System Information or “Control Panel\System and Security\System

4) Click on Advanced System settings and open Environment Variables

5) Under System Variable add a new path where you have to put the variable name as PATH and paste the path which you previously copied to Path value

path

6) Apply changes and now try to run the exe file of Eclipse.

Hope, above instructions helped you.

You Might Also Like

Read more about the article C Program to sort an array using Merge Sort with its Time Complexity

C Program to sort an array using Merge Sort with its Time Complexity

Read more about the article What is Functional Interface in Java 8

June 12, 2020

Источник

Оцените статью