JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
Enviroment variables problem
I am having this problem in the image:
even if in the path displayed is correct and exists. I tryed anyway to change this variable and the files in `C:\\Program Files\Java\apache-maven-2.2.1` or `C:\\Program Files\Java\apache-maven-2.2.1\bin` or `C:\\Program Files\apache-maven-2.2.1\bin` as I read in different forums.
My enviroment variables are set up as follow:
Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; %ROO_HOME%\bin; %M2_HOME%\bin;
M2_HOME=C:\Program Files\apache-maven-2.2.1
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18
ROO_HOME=C:\spring-roo-1.1.0.RC1
Must I do something extra?
Thanks in advance
error.jpg
38.7 KB
· Views: 59
New member
Guru
Gold Member
VIP
Open a Command Prompt , type set and press Enter . Paste the results here please.
Computer type PC/Desktop Computer Manufacturer/Model Number Lenovo IdeaCenter 450 OS Windows 10 Pro X64 CPU Intel Quad Core i7-4770 @ 3.4Ghz Memory 16.0GB PC3-12800 DDR3 SDRAM 1600 MHz Graphics Card(s) Intel Integrated HD Graphics Sound Card Realtek HD Audio Monitor(s) Displays HP 22" LCD Screen Resolution 1680 x 1050 Hard Drives 250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA Keyboard Dell USB Mouse Lenovo USB Internet Speed Cable via Road Runner 3MB Upload, 30MB Download Antivirus Windows Defender, MBAM Pro, MBAE Browser Seamonkey Other Info UEFI/GPT
PLDS DVD-RW DH16AERSH
New member
Thread Starter
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\mujer esponja\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MUJERESPONJA-PC
ComSpec=C:\Windows\system32\cmd.exe
ERROR_CODE=0
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\mujer esponja
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18
LOCALAPPDATA=C:\Users\mujer esponja\AppData\Local
LOGONSERVER=\\MUJERESPONJA-PC
M2_HOME=C:\Program Files\apache-maven-2.2.1
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\spring-roo-1.1.0.RC1\bin;%PATH%;C:\Program Files\Java\jdk1.6.0_18\bin;C:\Program Files\apache-maven-2.2.1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
ROO_HOME=C:\spring-roo-1.1.0.RC1
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\MUJERE~1\AppData\Local\Temp
TMP=C:\Users\MUJERE~1\AppData\Local\Temp
USERDOMAIN=mujeresponja-PC
USERNAME=mujer esponja
USERPROFILE=C:\Users\mujer esponja
windir=C:\Windows
New member
Guru
Gold Member
VIP
environmental variables look set as instructed
Instead of "Program Files"
If running 64 bit OS
you may mean "Program Files (x86)"
that's where the java subdirectory/folder lives.
Last edited: Nov 21, 2010
Computer type PC/Desktop Computer Manufacturer/Model Number Own build OS Windows 7x64 Home Premium SP1 CPU Intel i7 2600k Motherboard ASUS P8Z68 Deluxe Memory G.Skill Ripjaws (DDR3-1600) 2x4GB Graphics Card(s) Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+) Monitor(s) Displays Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350 Screen Resolution 1920x1080 Hard Drives Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2 PSU Seasonic M12II 520W Case Lian Li Lancool PC-K60 Cooling Case: 1x120mm, 3x140mm CPU: Hyper 212+ Keyboard Logitech MK520 (wireless) Mouse Logitech MK520 Internet Speed 6-7 Mbps Antivirus Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC) Browser FireFox Other Info Audio: Logitech Z523 2.1
New member
Thread Starter
But how to change that?? I think I don't understand properly your answer.
If you mean change my enviromenta variables like, for instance:
JAVA_HOME= C:\Program Files (x86)\Java\jdk1.6.0_18
and so on, it doesn't work either:
ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = C:\Program Files (x86)\Java\jdk1.6.0_18
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
Last edited: Nov 21, 2010
New member
Guru
Gold Member
VIP
On looking again at your environmental variable set list, it looks like you're running a 32 bit system. In which case the advice I gave is not your solution.
We run a 64 bit system & that's where my son stored his java stuff under (x86).
It looks like you downloaded material from the Apache Maven Project and the error clearly states it doesn't like the directory path you have nominated.
Maybe check the installation documentation again and check where the installation is actually located.
eg. what's in:
C:\Program Files\apache-maven-2.2.1\bin
Someone may come along with better advice.
PS: Fill in your computer specs more fully.
Computer type PC/Desktop Computer Manufacturer/Model Number Own build OS Windows 7x64 Home Premium SP1 CPU Intel i7 2600k Motherboard ASUS P8Z68 Deluxe Memory G.Skill Ripjaws (DDR3-1600) 2x4GB Graphics Card(s) Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+) Monitor(s) Displays Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350 Screen Resolution 1920x1080 Hard Drives Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2 PSU Seasonic M12II 520W Case Lian Li Lancool PC-K60 Cooling Case: 1x120mm, 3x140mm CPU: Hyper 212+ Keyboard Logitech MK520 (wireless) Mouse Logitech MK520 Internet Speed 6-7 Mbps Antivirus Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC) Browser FireFox Other Info Audio: Logitech Z523 2.1
New member
Guru
Gold Member
VIP
The Apache-Maven FAQ has some good info and links to places to look for and ask questions.
Getting help
Computer type PC/Desktop Computer Manufacturer/Model Number Lenovo IdeaCenter 450 OS Windows 10 Pro X64 CPU Intel Quad Core i7-4770 @ 3.4Ghz Memory 16.0GB PC3-12800 DDR3 SDRAM 1600 MHz Graphics Card(s) Intel Integrated HD Graphics Sound Card Realtek HD Audio Monitor(s) Displays HP 22" LCD Screen Resolution 1680 x 1050 Hard Drives 250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA Keyboard Dell USB Mouse Lenovo USB Internet Speed Cable via Road Runner 3MB Upload, 30MB Download Antivirus Windows Defender, MBAM Pro, MBAE Browser Seamonkey Other Info UEFI/GPT
PLDS DVD-RW DH16AERSH
New member
Thread Starter
Thanks, I asked already there.
Maybe is a bug to solve...