When I am running eclispe on my computer it is throwing error How to resolve it

0 votes

I am trying to get Eclipse v3.5 to re-run on my computer - I have run it before with no problems, but now I keep getting error.

May 31, 2018 in Java by Daisy
• 8,140 points
999 views

2 answers to this question.

0 votes
  • "Installing" a JRE or JDK can be as simple as unzipping or copying it from another computer: there is no special installation steps, and you can have as many different JVM versions as you want, "installed" almost anywhere on your disk.
  • I would recommend to always run Eclipse with the lastest JRE possible. You can:
    • Reference that exact JRE path in your eclipse.ini.
    • Copy any JRE in your <eclipse>/jre directory. In both cases, no PATH to update.
  • The JVM you will reference within your Eclipse session is not always the one used for launching Eclipse because:
    • You only need a JRE to launch Eclipse, but once Eclipse launched, you should register a JDK for your projects .
    • Even though the default registered Java in Eclipse is the one used to launch the session, you can want to register an older SDK (including a non-Sun one) in order to run/debug your programs with a JRE similar to the one which will actually be used in production.
answered May 31, 2018 by sophia
• 1,400 points
0 votes
If you have downloaded the 64 bit version of Eclipse; it will look for the 64 bit version of JRE. If you have downloaded the 32 bit version of Eclipse; it will look for the 32 bit version of JRE

I have installed both 32 and 64 bit JRE. SUN Oracle site allows you to install both the versions. The Java site automatically installs the 32 bit version of Java.
answered Dec 10, 2018 by Sushmita
• 6,920 points

Related Questions In Java

0 votes
1 answer

How to download Eclipse on a flash drive and use it on a public computer?

To use Eclipse from a flash drive, ...READ MORE

answered Apr 22, 2019 in Java by Omkar
• 69,230 points
5,798 views
0 votes
1 answer

Vanilla JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it

Use Internet Explorer 9 or later if you're using VANILLA pure JavaScript without jQuery. document.addEventListener("DOMContentLoaded", function(event) { // ...READ MORE

answered Nov 8, 2022 in Java by Damonlang
• 700 points
2,895 views
0 votes
1 answer

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

In your Eclipse IDE, go into Window > Preferences > Java > Installed JREs > ...READ MORE

answered Jun 18, 2018 in Java by Parth
• 4,640 points
3,278 views
0 votes
0 answers

com.microsoft.sqlserver.jdbc.SQLServerDriver not found error

I'm having the same issue as this thread. ...READ MORE

Sep 6, 2022 in Database by Kithuzzz
• 38,020 points
709 views
0 votes
1 answer

What is the difference between jdk and jre?

JRE: It stands for Java Runtime Environment. ...READ MORE

answered Apr 20, 2018 in Java by Akrati
• 3,190 points
1,875 views
0 votes
2 answers

How can I get the filenames of all files in a folder which may or may not contain duplicates

List<String> results = new ArrayList<String>(); File[] files = ...READ MORE

answered Sep 12, 2018 in Java by Sushmita
• 6,920 points
1,859 views
0 votes
1 answer

Is it possible to run a java program from command line on windows?How?

  Let's say your file is in C:\myprogram\ Run ...READ MORE

answered Apr 18, 2018 in Java by sophia
• 1,400 points
2,588 views
0 votes
1 answer

How to fix the error failed to load the JNI shared Library?

You need these three things : 64-bit OS 64-bit ...READ MORE

answered Apr 19, 2018 in Java by sophia
• 1,400 points
2,487 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP