Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Creating your first Java project
Creating your first Java project [message #6662] Wed, 19 January 2005 10:37 Go to next message
Eclipse UserFriend
Originally posted by: darren.holloway.macro4.com

Hi There

I am new to Eclipse and have been working through the 'Help', 'Getting
Started', 'Basic Tutorial'.

I have a problem following the help text in the section 'Creating your first
Java project', it suggests I download the 'Sample Code Junit' . I have
followed the instructions to the letter and have also tried other download
sites. The version of Eclipse I am using is 3.0.1 although I have tried the
downloads for 3.0.0 as well.

The problem occurs when I download the Zip file 'Example Plug-ins', I
download the correct file and then use Eclipse to open (import) the Zip
file. The help text says I should open the zip file and find
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/junit381src.jar.
All of which I do, I then click Finish and return to Eclipse main display.

If I open the section I have just imported from the zip file I see the
following folders...

- Archive
- Doc-html
- Icons

The help text says I should see the following

- Awtui
- Extensions
- Framework
- Runner
- Samples
- Swingui
- Textui

There my problem lies, I do hope this makes sense. I can not continue with
the tutorial as if refers to folders that should have been downloaded.

Either I have made an error downloading the wrong Zip file, as mentioned I
have tried this for different version and from differnet sites. Or the zip
file itself is incorrect, or the help text is wrong ?

I would be VERY grateful for some help and advice for which way to progress
from here.

Many thanks in advance for all your help.

Darren
Re: Creating your first Java project [message #27471 is a reply to message #6662] Fri, 11 February 2005 01:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilberto.peres.gmail.com

Let's see the Tutorial text:

Getting the Sample Code (JUnit)
First you need to download the JUnit source code.
1. Go to the http://www.eclipse.org/downloads/ page and locate the release
that you are working with.
2. Scroll down to the Example Plug-ins section and download the examples
archive.
3. Extract the contents of the Zip file to a directory from now on
referenced as <ExamplesDownloadPath> (e.g. c:\myDownloads).

Follow step 3:
-Create a new directory (e.g. c:\myDownloads)
-Extract the contents of the Zip file in the directory created above
-Choose Import...Zip File and find the file
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
it381src.jar inside the directory created above, instead inside the zip
file.

It worked for me... I have made the same mistake (LOL)

I wait it helps.
Regards,
Gilberto Peres

"Darren Holloway" <darren.holloway@macro4.com> escreveu na mensagem
news:cslda3$knt$1@www.eclipse.org...
> Hi There
>
> I am new to Eclipse and have been working through the 'Help', 'Getting
> Started', 'Basic Tutorial'.
>
> I have a problem following the help text in the section 'Creating your
first
> Java project', it suggests I download the 'Sample Code Junit' . I have
> followed the instructions to the letter and have also tried other download
> sites. The version of Eclipse I am using is 3.0.1 although I have tried
the
> downloads for 3.0.0 as well.
>
> The problem occurs when I download the Zip file 'Example Plug-ins', I
> download the correct file and then use Eclipse to open (import) the Zip
> file. The help text says I should open the zip file and find
>
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
it381src.jar.
> All of which I do, I then click Finish and return to Eclipse main display.
>
> If I open the section I have just imported from the zip file I see the
> following folders...
>
> - Archive
> - Doc-html
> - Icons
>
> The help text says I should see the following
>
> - Awtui
> - Extensions
> - Framework
> - Runner
> - Samples
> - Swingui
> - Textui
>
> There my problem lies, I do hope this makes sense. I can not continue
with
> the tutorial as if refers to folders that should have been downloaded.
>
> Either I have made an error downloading the wrong Zip file, as mentioned I
> have tried this for different version and from differnet sites. Or the
zip
> file itself is incorrect, or the help text is wrong ?
>
> I would be VERY grateful for some help and advice for which way to
progress
> from here.
>
> Many thanks in advance for all your help.
>
> Darren
>
>
Re: Creating your first Java project [message #28647 is a reply to message #27471] Mon, 21 February 2005 20:16 Go to previous messageGo to next message
Glen Mazza is currently offline Glen MazzaFriend
Messages: 4
Registered: July 2009
Junior Member
"Gilberto Peres" <gilberto.peres@gmail.com> wrote in message
news:cuh1rn$9jn$1@www.eclipse.org...
>
> Let's see the Tutorial text:
>
> Getting the Sample Code (JUnit)
> First you need to download the JUnit source code.
> 1. Go to the http://www.eclipse.org/downloads/ page and locate the release
> that you are working with.
> 2. Scroll down to the Example Plug-ins section and download the examples
> archive.


I'm trying to use the Eclipse Java tutorial as well but I cannot find the
"Example Plug-ins" (or anything similar) section on this page:
http://www.eclipse.org/downloads/ . Does anyone know where this section
went?

Thanks,
Glen



> 3. Extract the contents of the Zip file to a directory from now on
> referenced as <ExamplesDownloadPath> (e.g. c:\myDownloads).
>
> Follow step 3:
> -Create a new directory (e.g. c:\myDownloads)
> -Extract the contents of the Zip file in the directory created above
> -Choose Import...Zip File and find the file
>
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
> it381src.jar inside the directory created above, instead inside the zip
> file.
>
> It worked for me... I have made the same mistake (LOL)
>
> I wait it helps.
> Regards,
> Gilberto Peres
>
Re: Creating your first Java project [message #28657 is a reply to message #28647] Mon, 21 February 2005 22:15 Go to previous messageGo to next message
Glen Mazza is currently offline Glen MazzaFriend
Messages: 4
Registered: July 2009
Junior Member
Found the file. I had to go to the old download page first, then choose a
version to download, and then the example plug-in section will appear.

Glen

"Glen Mazza" <grm7793@yahoo.com> wrote in message
news:cvdfbg$ek0$1@www.eclipse.org...
> "Gilberto Peres" <gilberto.peres@gmail.com> wrote in message
> news:cuh1rn$9jn$1@www.eclipse.org...
> >
> > Let's see the Tutorial text:
> >
> > Getting the Sample Code (JUnit)
> > First you need to download the JUnit source code.
> > 1. Go to the http://www.eclipse.org/downloads/ page and locate the
release
> > that you are working with.
> > 2. Scroll down to the Example Plug-ins section and download the examples
> > archive.
>
>
> I'm trying to use the Eclipse Java tutorial as well but I cannot find the
> "Example Plug-ins" (or anything similar) section on this page:
> http://www.eclipse.org/downloads/ . Does anyone know where this section
> went?
>
> Thanks,
> Glen
>
>
>
> > 3. Extract the contents of the Zip file to a directory from now on
> > referenced as <ExamplesDownloadPath> (e.g. c:\myDownloads).
> >
> > Follow step 3:
> > -Create a new directory (e.g. c:\myDownloads)
> > -Extract the contents of the Zip file in the directory created above
> > -Choose Import...Zip File and find the file
> >
>
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
> > it381src.jar inside the directory created above, instead inside the zip
> > file.
> >
> > It worked for me... I have made the same mistake (LOL)
> >
> > I wait it helps.
> > Regards,
> > Gilberto Peres
> >
>
>
"spaces instead of tabs" not working in Java Editor [message #28661 is a reply to message #28647] Mon, 21 February 2005 22:30 Go to previous messageGo to next message
Glen Mazza is currently offline Glen MazzaFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

I can't seem to get Eclipse to use spaces instead of tabs in the Java
Editor. From Window | Preferences | Java | Code Style | Code Formatter -
Indentation tab, the default is four spaces with "Use tab character"
unchecked. This default is indeed what I want, but when I am editing a Java
file, Eclipse still uses a tab character (instead of four spaces) every time
I press the tab key.

Any idea what's going wrong? My project doesn't allow for tabs--I need to
use spaces.

Thanks,
Glen
Re: "spaces instead of tabs" not working in Java Editor [message #28663 is a reply to message #28661] Mon, 21 February 2005 22:37 Go to previous messageGo to next message
Glen Mazza is currently offline Glen MazzaFriend
Messages: 4
Registered: July 2009
Junior Member
OK, this problem I also just fixed. In Preferences | Java | Editor --
Typing tab, there is an "Insert Spaces for Tab" option that must also be
selected for spaces to be used during Smart Insert mode. Unlike JEdit,
though, Eclipse will apparently always insert a tab if I manually press the
Tab key.

Glen


"Glen Mazza" <grm7793@yahoo.com> wrote in message
news:cvdn5p$gj7$1@www.eclipse.org...
> Hello,
>
> I can't seem to get Eclipse to use spaces instead of tabs in the Java
> Editor. From Window | Preferences | Java | Code Style | Code Formatter -
> Indentation tab, the default is four spaces with "Use tab character"
> unchecked. This default is indeed what I want, but when I am editing a
Java
> file, Eclipse still uses a tab character (instead of four spaces) every
time
> I press the tab key.
>
> Any idea what's going wrong? My project doesn't allow for tabs--I need to
> use spaces.
>
> Thanks,
> Glen
>
>
Re: "spaces instead of tabs" not working in Java Editor [message #28689 is a reply to message #28661] Tue, 22 February 2005 11:38 Go to previous messageGo to next message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=73104

basically, when using the default settings, the preference page does not
reflect the settings correctly.

Workaround ist to create a custom profile.

This is on M5a.

-tom

Glen Mazza wrote:
> Hello,
>
> I can't seem to get Eclipse to use spaces instead of tabs in the Java
> Editor. From Window | Preferences | Java | Code Style | Code Formatter -
> Indentation tab, the default is four spaces with "Use tab character"
> unchecked. This default is indeed what I want, but when I am editing
a Java
> file, Eclipse still uses a tab character (instead of four spaces)
every time
> I press the tab key.
>
> Any idea what's going wrong? My project doesn't allow for tabs--I
need to
> use spaces.
>
> Thanks,
> Glen
>
>
Re: Creating your first Java project [message #1780388 is a reply to message #6662] Mon, 22 January 2018 05:51 Go to previous messageGo to next message
Terri Furness is currently offline Terri FurnessFriend
Messages: 2
Registered: January 2018
Junior Member
Eclipse User wrote on Wed, 19 January 2005 10:37
Originally posted by: darren.holloway.macro4.com

Hi There

I am new to Eclipse and have been working through the 'Help', 'Getting
Started', 'Basic Tutorial'.

I have a problem following the help text in the section 'Creating your first
Java project', it suggests I download the 'Sample Code Junit' . I have
followed the instructions to the letter and have also tried other download
sites. The version of Eclipse I am using is 3.0.1 although I have tried the
downloads for 3.0.0 as well.

The problem occurs when I download the Zip file 'Example Plug-ins', I
download the correct file and then use Eclipse to open (import) the Zip
file. The help text says I should open the zip file and find
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/junit381src.jar.
All of which I do, I then click Finish and return to Eclipse main display.

If I open the section I have just imported from the zip file I see the
following folders...

- Archive
- Doc-html
- Icons

The help text says I should see the following

- Awtui
- Extensions
- Framework
- Runner
- Samples
- Swingui
- Textui

There my problem lies, I do hope this makes sense. I can not continue with
the tutorial as if refers to folders that should have been downloaded.

Either I have made an error downloading the wrong Zip file, as mentioned I
have tried this for different version and from differnet sites. Or the zip
file itself is incorrect, or the help text is wrong ?

I would be VERY grateful for some help and advice for which way to progress
from here.

Many thanks in advance for all your help.

Darren


Hi - am having the same problem - really cannot find junit381src.jar
to download??
Cannot continue with the Tutorial :(
Terri
Re: Creating your first Java project [message #1780524 is a reply to message #1780388] Tue, 23 January 2018 15:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3078
Registered: July 2009
Senior Member

Are you also using version 3.0 (which is ancient)? The tutorial for the current version is slightly different.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Creating your first Java project [message #1780580 is a reply to message #1780524] Wed, 24 January 2018 05:19 Go to previous message
Terri Furness is currently offline Terri FurnessFriend
Messages: 2
Registered: January 2018
Junior Member
Using Version: Oxygen.2 Release (4.7.2)
I managed to get the problem resolved by inputting the Build Path into my project and then it worked.
Terri
Previous Topic:Eclipse/Oxygen.2 Unable to start after installation
Next Topic:Icon in Package Column of Java Project
Goto Forum:
  


Current Time: Wed Feb 21 08:12:00 GMT 2018

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

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