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

0 votes
Apr 19, 2019 in Java by anonymous

recategorized Apr 22, 2019 by Omkar 5,872 views

1 answer to this question.

0 votes

To use Eclipse from a flash drive, you will have to first copy all the necessary files, JDK and Eclipse files to the Flash drive. And then run the Eclipse.exe file. I am mentioning the steps from the official docs below:

  1. Copy the Java JDK from your PC to the USB drive. You will find the JDK under C:\Program Files\Java. Usually it is named jdk1.8.0_###, where ### is a three-digit value (e.g., C:\Program Files\Java\jdk1.8.0_181).
  2. Copy the Eclipse folder distribution to the USB drive. See instructions above for the necessary link to the distribution.
  3. Define the workspace on the USB drive as follows:

    1. Launch Eclipse (look for eclipse.exe in the Eclipse folder).
    2. In the “Select a directory as workspace” dialog, use the “Browse...” option to select the USB drive (e.g.,E:).
    3. Provide a folder name after the drive in "Workspace: ". For example, F:\USBWorkspace (assuming USB drive F:).
    4. Click on the Launch button.
  4. Define the JRE present on the USB drive as the one to use for projects as follows:

    To define the JRE in Eclipse, select Window → Preferences → Java → Installed JREs → Search and locate the JDK folder (e.g., jdk1.8.0_181) you placed in the USB drive. Select the folder and click on the Apply button. This will search for the jre. Make the jre the default by selecting the jre from the list displayed (look for Name, Location, etc.). Make the jre the default one and select "Apply and Close". Notice that while creating a project you might need to specify the particular JRE to use. Just right-click on the "JRE System Library", select Properties → Alternate JRE: → Installed JREs, and the appropriate JRE.

  5. Add the necessary plugins.

answered Apr 22, 2019 by Omkar
• 69,220 points

Related Questions In Java

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,682 views
0 votes
1 answer

How to download and save a file from Internet using Java?

public void saveUrl(final String filename, final String ...READ MORE

answered May 25, 2018 in Java by Rishabh
• 3,620 points
914 views
0 votes
2 answers

What is the use of toString method in Java and how can I use it ?

Whenever you require to explore the constructor ...READ MORE

answered Aug 23, 2018 in Java by Daisy
• 8,140 points
4,103 views
0 votes
1 answer

How to read and write on an excel files?

Follow these steps: Write: public class User { ...READ MORE

answered May 15, 2018 in Java by Rishabh
• 3,620 points
1,539 views
+5 votes
11 answers

How to import a jar file in Eclipse?

Click on File > Import. The Import ...READ MORE

answered Aug 23, 2018 in Java by Daisy
• 8,140 points
359,781 views
0 votes
1 answer

Which is the best GUI designer for Eclipse?

Windows Builder Pro is the best GUI ...READ MORE

answered May 21, 2018 in Java by Akrati
• 3,190 points
1,775 views
0 votes
2 answers

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

If you have downloaded the 64 bit ...READ MORE

answered Dec 10, 2018 in Java by Sushmita
• 6,920 points
1,039 views
0 votes
1 answer

Eclipse Oxygen fails to start

I think you need to make some ...READ MORE

answered Jun 7, 2018 in Java by code.reaper12
• 3,500 points
1,268 views
0 votes
1 answer

Is there a way to mask the password from java user input that comes from Scanner class and System.out.Println()?

You can use the console class to do so. ...READ MORE

answered May 27, 2019 in Java by Omkar
• 69,220 points
11,099 views
+17 votes
25 answers

How can I convert String to JSON object in Java?

Hi @Daisy You can use Google gson  for more ...READ MORE

answered Feb 7, 2019 in Java by Suresh
• 720 points
253,619 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