Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTrouble with running java program
https://www.eclipse.org/forums/index.php/mv/msg/529379/1114426/#msg_1114426
amanda b2013-09-22T18:29:14-00:00Re: Trouble with running java program
https://www.eclipse.org/forums/index.php/mv/msg/529379/1114968/#msg_1114968
> I've only been using Eclipse for the past few weeks. I'm use to simpler
> software like Jgrasp. I've grasped on pretty quick though. My problem is
> that when I create a program in my college class and choose my usb as
> the workspace, then come home and choose my usb drive as the workspace
> also on my personal computer, the program opens but won't run. It runs
> when I first create, but won't run when I try to open it at a later
> time. The same thing happens when I close the program and then try to re
> open it later. This happens even if i created the project at home and
> used my usb as the workspace. Nothing shows up under packages in the
> left side pane. I tried using my desktop at home as the workspace and it
> worked fine and would run whenever I opened it and chose my desktop as
> the workspace. I was a little confused why I can't get it to run because
> I use the usb drive as my workspace at all times. I tried to look up
> solutions to this, and some said to use the import/export feature on
> eclipse, but if I use the same workspace at all times I'm not sure why
> that would be necessary.
Amanda,
Eclipse workspaces aren't portable between computer hosts. Projects are.
You can untie your projects from your workspace to keep them on your USB
drive, but your workspace is only going to be useful from the host on
which you created it.
Assuming you'll want to follow this advice, here's what to do:
1. Create a new workspace from your existing one and pay attention to
keeping configuration from the old one.
2. Import* into that new workspace, the old projects. These can continue
to live on your USB drive even in that old workspace, you'll just be
abandoning the old workspace. Or, you can move them elsewhere as you wish.
3. Do the same thing "at home" or wherever else you were
working--importing your projects into your new workspace.
* File -> Import... -> General -> Import Existing Projects into Workspace.
Hope this helps. Come back here if anything is unclear or you have more
trouble.]]>Russell Bateman2013-09-23T13:29:49-00:00Re: Trouble with running java program
https://www.eclipse.org/forums/index.php/mv/msg/529379/1115383/#msg_1115383
Princess Villanueva2013-09-24T03:36:43-00:00