Learn more. Ask Question. Asked 9 years, 11 months ago. Active 5 years, 11 months ago. Viewed k times. Improve this question. Bekhbayar Bekhbayar 2 2 gold badges 5 5 silver badges 12 12 bronze badges. This link will defiantly help you stackoverflow. Add a comment. Active Oldest Votes. Improve this answer. CubeJockey 2, 8 8 gold badges 22 22 silver badges 31 31 bronze badges. If you already have the command prompt open you need to restart it to take effect.
I was missing the step 6 and your answer is more right when compared to the others. Roger Olivier. Roger 4, 5 5 gold badges 38 38 silver badges 64 64 bronze badges. Don't put a backslash after path or it won't work.
The ant docs warn about this. I tried installing JDK this way. Hope, its useful. PraveenMakam PraveenMakam 51 1 1 silver badge 4 4 bronze badges. This helped a lot, because 'where ant' was working for me, whilst 'ant -version' wasn't. Community Bot 1 1 1 silver badge. Rebse Rebse Save and extract the package file into a Linux home directory.
Type cmd to display the Command Prompt icon in the Start menu. Click on the Command Prompt icon. Type java -version in the Command Prompt. Press Enter. To set permanent java path: Go to MyPC properties. Click on Advanced system settings. Click on Environment Variables. Click on New tab of User variables.
Paste path of bin folder in Variable value: Click on OK button. Test your configuration. How do you set an ant home window? Category: technology and computing browsers. Click the Advanced tab, and then click the Environment Variables button.
How do I install ant? How do I check ant version? What is ant home? What is Ant in Java? How do I know if Ant is installed Linux? Where is Apache Ant installed? Installing Apache Ant. How do you run ants? How do I use Ant build in Eclipse? Setting up ant build for Java Workspace in Eclipse. Open the Java project in Eclipse. How do I install JDK? How do I set environment variables in Windows? To create or modify environment variables on Windows:. How do I set environment variables in Windows 10?
How to change environment variables on Windows How do I check my version of Java? Windows 7 and Vista. Click Start. How do I run ant in Linux? Installing Ant on Linux. How do you check if Java is installed on Windows command prompt? About This Article. Click the Windows Start icon. How can set permanent path in Java? To set permanent java path:. Go to MyPC properties.
Open Advanced System Settings. Similar Asks. Popular Asks.
0コメント