• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Help needed with Java EE SDK 6 installation on Windows XP

 
Greenhorn
Posts: 1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!!! Finally, After facing the same problem for about a month, I found a solution!!!

In my case, the installation was crashing if a provided it with an answer file and launched it in silent mode.

So, Here is the solution:
just add the the "-j" switch and your JRE directory path as an argument for the installer!!
For Example, in my case:
java_ee_sdk-6u3-jdk7-windows.exe -j "C:\Program Files\Java\jre6"

For some reason, if lauched without this argument, the installer fails to find the java home directory and the installation fails (on some computers...)

Have A great time everyone!
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for mentioning this Vova, that might help people in the future who have the same problem. And welcome to the Ranch!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Vova Dvorkin wrote:Hi All!!! Finally, After facing the same problem for about a month, I found a solution!!!

In my case, the installation was crashing if a provided it with an answer file and launched it in silent mode.

So, Here is the solution:
just add the the "-j" switch and your JRE directory path as an argument for the installer!!
For Example, in my case:
java_ee_sdk-6u3-jdk7-windows.exe -j "C:\Program Files\Java\jre6"

For some reason, if lauched without this argument, the installer fails to find the java home directory and the installation fails (on some computers...)

Have A great time everyone!



Thanks Vova, just got a breakthrough with this approach..

Keep Posting, Keep Helping..
 
Marshal
Posts: 65383
248
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi If you can't get it to work then I suggest you simply just install Glassfish 3 and when compiling your EE apps, set your classpath to javaee.jar in the glassfish's lib directory. Or just use a IDE (makes it whole lot easier).
 
What's brown and sticky? ... a stick. Or a tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!