You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/12/25 18:37:02 UTC

[Bug 58770] New: Installation Problem with Source Edition for ant 1.9.6

https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

            Bug ID: 58770
           Summary: Installation Problem with Source Edition for ant 1.9.6
           Product: Ant
           Version: 1.9.6
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Build Process
          Assignee: notifications@ant.apache.org
          Reporter: mfaree62@hotmail.com

My Operating System is Windows 7 64 bit 

I want to install ant 1.9.6 from source code. 
I downloaded the source code file and set all Ant_Home directory and tried to
build in  the Dos prompt but the build and boostrap operation fails. 

then I added the bin and lib files from ant 1.9.6 binary edition and the same
happens. 

can you give me the brief and correct steps to install Ant 1.9.6 from source
code? 

I use it with Eclipse software and j-- compilers for self learning. 

Best regards,
   Mohammed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #9 from Mohammed <mf...@hotmail.com> ---
(In reply to Jan Mat from comment #5)
> This means that your PATH doesnt point to the bin-directory of your JDK -
> only to a JRE.
> 
> Open the explorer, navigate to your jdk installation directory and there
> into its bin folder. Is a javac.exe there? 
> no --> wrong installation, download new JDK setup and install that
> 
> Copy that path. Open the system properties and the PATH variable. Is that
> bin-path in it (user or system PATH variable)?
> no --> is a JAVA_HOME in the PATH-definition? Does JAVA_HOME point to the
> former bin/../-folder?

the JDK is ready now with the bin directory contains javac 

where can I find system properties where I can modify the path to the jdk bin? 

configure java deals only with JRE, Where is the path setup for JDK? 

I have no idea of this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #5 from Jan Mat <ja...@materne.de> ---
This means that your PATH doesnt point to the bin-directory of your JDK - only
to a JRE.

Open the explorer, navigate to your jdk installation directory and there into
its bin folder. Is a javac.exe there? 
no --> wrong installation, download new JDK setup and install that

Copy that path. Open the system properties and the PATH variable. Is that
bin-path in it (user or system PATH variable)?
no --> is a JAVA_HOME in the PATH-definition? Does JAVA_HOME point to the
former bin/../-folder?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #10 from Mohammed <mf...@hotmail.com> ---
(In reply to Mohammed from comment #9)
> (In reply to Jan Mat from comment #5)
> > This means that your PATH doesnt point to the bin-directory of your JDK -
> > only to a JRE.
> > 
> > Open the explorer, navigate to your jdk installation directory and there
> > into its bin folder. Is a javac.exe there? 
> > no --> wrong installation, download new JDK setup and install that
> > 
> > Copy that path. Open the system properties and the PATH variable. Is that
> > bin-path in it (user or system PATH variable)?
> > no --> is a JAVA_HOME in the PATH-definition? Does JAVA_HOME point to the
> > former bin/../-folder?
> 
> the JDK is ready now with the bin directory contains javac 
> 
> where can I find system properties where I can modify the path to the jdk
> bin? 
> 
> configure java deals only with JRE, Where is the path setup for JDK? 
> 
> I have no idea of this.

please help me with this process because each time i set up in configure java
jre to point to jdk it deletes and points to jre.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

Jan Mat <ja...@materne.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #3 from Jan Mat <ja...@materne.de> ---
Are you sure you have an installed Java DEVELOPMENT Kit?
Have a look at %JAVA_HOME%\bin: is a javac.exe there?

Open a cmd.exe and try:
1.: java -version
2.: javac -version

Both should work before you should try to build Ant.

With this working a "build.bat" in Ants source directory should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #6 from Mohammed <mf...@hotmail.com> ---
I didn't find javac in the bin, 
so now I am downloading a new JDK Java SE. Which installation choice results in
locating javac in the bin?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #11 from Mohammed <mf...@hotmail.com> ---
the problem is that configure java or the java control panel in the control
unit deals with setup the path for jre. where is the path setup for jdk? 

whenever I modify the path in java control panel to jdk it switches
automatically to jre.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

Mohammed <mf...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows 7

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #12 from Jan Mat <ja...@materne.de> ---
Set JAVA_HOME and PATH:
Open System Properties > System > System Environment Variables.
The system properties dialog opens.
Button "environment variables".

Check where your JAVA_HOME is defined.
Change that value to your ${JDK_INSTALL_DIR}.
Modify the PATH variable. Prepend the "${JDK_INSTALL_DIR}\bin;" before the
values.

Confirm the dialogs.

Open a new cmd.exe. Type "set" and check the JAVA_HOME and PATH variables.
Try "javac -version".

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #14 from Mohammed <mf...@hotmail.com> ---
(In reply to Mohammed from comment #13)
 I had set up everything correct. 

 now javac - version  and java -version are correct working after setting the
 environment variables for JAVA_HOME jdk bin and Path variable in system too
 all at system properties. 

 the problem when I try to build ant in its directory using    build install
 in cmd.exe command, it says that path is not specified or found, so no bin
 directory is built at all and the boostrap fails and it showed on screen cmd
 some info of the process.
  I had downloaded the source zip file and extracted it to the ANT_HOME
 FOLDER but the build.bat the windows batch file is now named build, and the
 boostrap.bat is renamed boostrap and both referred as windows batch file in
 type.

Note that I had included ANT_HOME DIRECTORY IN USER AND SYSTEM ENVIRONMENT
VARIALBELS INCLUDING PATH TOO.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #7 from Mohammed <mf...@hotmail.com> ---
(In reply to Mohammed from comment #6)
> I didn't find javac in the bin, 
> so now I am downloading a new JDK Java SE. Which installation choice results
> in locating javac in the bin?

Where can I find system properties where I can modify the Path? is it configure
Java as usual?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

Jan Mat <ja...@materne.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #8 from Mohammed <mf...@hotmail.com> ---
the JDK is ready now with the bin directory contains javac 

where can I find system properties where I can modify the path to the jdk bin? 

configure java deals only with JRE, Where is the path setup for JDK? 

I have no idea of this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #2 from Mohammed <mf...@hotmail.com> ---
I forgot to add this:
 when boostrap fails it says   javac is not recongnized as batch or document or
anytype of files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #4 from Mohammed <mf...@hotmail.com> ---
I had installed the latest JDK.I I opened cmd.exe 
I tried java -version and it worked 
but javac -version didn't work and I couldn't find it in bin in java_home. 

so what to do?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #15 from Mohammed <mf...@hotmail.com> ---
Thank you I restarted my pc and and reset all environment variables again
several times and the build of apache Ant was successful and created bin
directory. 

how can I run ant? 
is it dos cmd only? 
does it has interface like java editors bluej and jcreator?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

Mohammed <mf...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mohammed <mf...@hotmail.com> ---
Don't worry I have Java JDK 1.7 and above installed too with setting the
directory Java_Home too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58770] Installation Problem with Source Edition for ant 1.9.6

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58770

--- Comment #13 from Mohammed <mf...@hotmail.com> ---
I had set up everything correct. 

now javac - version  and java -version are correct working after setting the
environment variables for JAVA_HOME jdk bin and Path variable in system too all
at system properties. 

the problem when I try to build ant in its directory using    build install in
cmd.exe command, it says that path is not specified or found, so no bin
directory is built at all and the boostrap fails and it showed on screen cmd
some info of the process.
 I had downloaded the source zip file and extracted it to the ANT_HOME FOLDER
but the build.bat the windows batch file is now named build, and the
boostrap.bat is renamed boostrap and both referred as windows batch file in
type.

-- 
You are receiving this mail because:
You are the assignee for the bug.