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

0 votes
Apr 19 in Java by anonymous

recategorized Apr 22 by Omkar 436 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.

You can also refer to this link.

answered Apr 22 by Omkar
• 67,660 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
188 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 24, 2018 in Java by Rishabh
• 3,540 points
51 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,050 points
846 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,540 points
267 views
+2 votes
10 answers

How to import a jar file in Eclipse?

To import jar file in your Eclipse ...READ MORE

answered May 15, 2018 in Java by sharth
• 3,350 points
71,947 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,150 points
249 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,880 points
101 views
0 votes
1 answer

Eclipse Oxygen fails to start

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

answered Jun 6, 2018 in Java by code.reaper12
• 3,450 points
59 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 in Java by Omkar
• 67,660 points
1,225 views
+15 votes
18 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 in Java by Suresh
• 700 points
89,887 views