Skip to main content



      Home
Home » Newcomers » Newcomers » newbie question about Eclipse for Java
newbie question about Eclipse for Java [message #34174] Mon, 14 March 2005 16:25 Go to next message
Eclipse UserFriend
Originally posted by: tmm.blah.com

Hi.

I'm a C++ developer, trying to use Java for the 1st time. I tried
NetBeans and didn't like it so I tried eclipse and had a better
experience. I have a couple of questions about using Eclipse for Java.
Is this the right place?

My questions:

- How do I go into 'full-screen' mode?

- How do I make the status bar go away?

- Where do I find the eclipse user settings: the ones that are not
specific to the computer and can be copied to another installation of
eclipse. I want to try to keep the eclipses on my notebook and my
desktop synced. Are these in the .metadata folder tree?

- I have a java project for which I can't figure out where the
executable is. It's not in the project's folder tree. I can run the
program from within eclipse and it works fine, but where might that jar
file be?

thanks,
Tom.
Re: newbie question about Eclipse for Java [message #34343 is a reply to message #34174] Mon, 14 March 2005 20:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

See responses inline with questions.

Tom wrote:
> Hi.
>
> My questions:
>
> - How do I go into 'full-screen' mode?
The closest you're going to get is by double clicking the title tab of
any currently selected editor or view.

>
> - How do I make the status bar go away?
Don't think that's possible. Or at least easily accomplished from a
user perspective.

>
> - Where do I find the eclipse user settings: the ones that are not
> specific to the computer and can be copied to another installation of
> eclipse. I want to try to keep the eclipses on my notebook and my
> desktop synced. Are these in the .metadata folder tree?
Most of the user settings are stored in the .metadata directory.
However a better way to share preferences is to export them as a file by
opening the Preferences dialog and hitting the Export button at the bottom.

>
> - I have a java project for which I can't figure out where the
> executable is. It's not in the project's folder tree. I can run the
> program from within eclipse and it works fine, but where might that jar
> file be?
Java binaries do not have to be packaged in a jar in order to be
executable... simply running the .class file that has the main() method
is the basic way of executing a Java program. E.g. java MyClass (in the
directory where MyClass.class resides) If you wish to package your
program in a jar, see the Jar file Export wizard (File->Export... and
choose Jar file)

Hope this helps,
- Jeff
Re: newbie question about Eclipse for Java [message #34480 is a reply to message #34343] Mon, 14 March 2005 22:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tmm.blah.com

Jeff Myers wrote:
> See responses inline with questions.
>
> Tom wrote:
>
>> Hi.
>>
>> My questions:
>>
>> - How do I go into 'full-screen' mode?
>
> The closest you're going to get is by double clicking the title tab of
> any currently selected editor or view.
>
>>
>> - How do I make the status bar go away?
>
> Don't think that's possible. Or at least easily accomplished from a
> user perspective.
>
>>
>> - Where do I find the eclipse user settings: the ones that are not
>> specific to the computer and can be copied to another installation of
>> eclipse. I want to try to keep the eclipses on my notebook and my
>> desktop synced. Are these in the .metadata folder tree?
>
> Most of the user settings are stored in the .metadata directory. However
> a better way to share preferences is to export them as a file by opening
> the Preferences dialog and hitting the Export button at the bottom.

Won't that just cover the preferences?
I want to get things like the 'run configurations' too. Or are those
stored in the project files?

>> - I have a java project for which I can't figure out where the
>> executable is. It's not in the project's folder tree. I can run the
>> program from within eclipse and it works fine, but where might that
>> jar file be?
>
> Java binaries do not have to be packaged in a jar in order to be
> executable... simply running the .class file that has the main() method
> is the basic way of executing a Java program. E.g. java MyClass (in the
> directory where MyClass.class resides) If you wish to package your
> program in a jar, see the Jar file Export wizard (File->Export... and
> choose Jar file)

Ah, that explains my confusion.
Thanks for the info,
Tom.

>
> Hope this helps,
> - Jeff
Re: newbie question about Eclipse for Java [message #34853 is a reply to message #34480] Tue, 15 March 2005 10:12 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Tom wrote:
> Jeff Myers wrote:
>>
>> Most of the user settings are stored in the .metadata directory.
>> However a better way to share preferences is to export them as a file
>> by opening the Preferences dialog and hitting the Export button at the
>> bottom.
>
>
> Won't that just cover the preferences?
> I want to get things like the 'run configurations' too. Or are those
> stored in the project files?

Launch Configurations can be stored in the project directory. If you're
editing a launch config, select the Common tab and you can make it a
"Shared" config and choose a location in your workspace to store it.
I usually create a .eclipse directory that gets checked in to CVS and
store them in there.

HTH,
Eric
Previous Topic:configuration error
Next Topic:Can't use the help
Goto Forum:
  


Current Time: Fri Apr 25 23:57:41 EDT 2025

Powered by FUDForum. Page generated in 0.04159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top