wood burning stoves 2.0*
The moose likes Java in General and the fly likes Help needed with Java EE SDK 6 installation on Windows XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Help needed with Java EE SDK 6 installation on Windows XP" Watch "Help needed with Java EE SDK 6 installation on Windows XP" New topic
Author

Help needed with Java EE SDK 6 installation on Windows XP

Luciano P. Andrade
Greenhorn

Joined: Dec 15, 2009
Posts: 5
I've been trying to install Java EE SDK 6 on my machine (Windows XP SP3, Java 6 Standard Edition previously installed) but the installation always quits soon after started, without any warning or error message. I've no idea what may be causing this...Disabling Kaspersky didn't help at all.

I'd very grateful if anyone could help me.

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'm not sure how we could help. IIRC there are command-line options to the installer, try something like /v to make it more verbose. (Don't know that works with the EE installer.)
Luciano P. Andrade
Greenhorn

Joined: Dec 15, 2009
Posts: 5
David Newton wrote:I'm not sure how we could help. IIRC there are command-line options to the installer, try something like /v to make it more verbose. (Don't know that works with the EE installer.)


Unfortunately, the /v option didn't work. The installation always quits at the same point, when there's a message on the screen saying "loading java runtime environment" or something like that.

Thank you and please keep helping.
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2247
    
    7

Welcome, are you bundling the JavaEE SDK with an IDE like Netbeans 6.8 which includes Glassfish 3 (EE 6 compliant)? Not sure if Eclipse has EE SDK bundles.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
Luciano P. Andrade
Greenhorn

Joined: Dec 15, 2009
Posts: 5
K. Tsang wrote:Welcome, are you bundling the JavaEE SDK with an IDE like Netbeans 6.8 which includes Glassfish 3 (EE 6 compliant)? Not sure if Eclipse has EE SDK bundles.


Hi, K. Tsang. I've downloaded (from this link: http://java.sun.com/javaee/downloads/index.jsp?userOsIndex=6&userOsId=windows&userOsName=Windows) and I've been trying to install the GlassFish and Java EE 6 SDKs (Last Updated: December 10, 2009). I'm just starting in Java and at this point need only compile and run simple programs from the book I'm learning from. Maybe I've choosen the wrong bundle? Well, it should install and work anyway, shouldn't it?

Thank you and please keep helping.
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2247
    
    7

Right that link should work.

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).

Glassfish 3 download at https://glassfish.dev.java.net/downloads/v3-final.html

Good luck.
Luciano P. Andrade
Greenhorn

Joined: Dec 15, 2009
Posts: 5
K. Tsang wrote:Right that link should work.

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).

Glassfish 3 download at https://glassfish.dev.java.net/downloads/v3-final.html

Good luck.


In fact, I can't get it to install...I suppose I could figure out how to use it if the installer just worked how it should...Maybe I need to have Jave SE SDK in the machine before installing Java EE SDK?

To try something new, I'm downloading this: Java SE Development Kit 6 Update 17 and NetBeans IDE 6.8 Software Bundle. Let's see if it'll install.

Thank you and please keep helping.
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
Hi Luciano.

I'm experiencing the same situation.
I've tried to download other bundles, but no success.
When I extracted the glassfish-v3.zip and tried to start the server I've got the stack trace:



Anybody can suggest me anything?

[]'s
Gustavo Ehrhardt
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hi there everyone

Just registered... Finally found a post regarding this matter. I already posted at sun foruns but didn't get any response. a lot of curious people though...
here is the link: http://forums.sun.com/thread.jspa?threadID=5420322&tstart=0

the big thing about installing Java EE 6 pack from SUN, and not netbeans 6.8 with glassfish ( although I want it too, and have it alreasy, but didn't want to install glassfish from netbeans ), is the ability to manage and administer the server more easily, I want to install other apps on the server, such as Joomla.

I'll reproduce the post in here, and the "thanks everyone" at the end is still valid :

Hello everyone. I am having trouble trying to install JAVA EE SDK 6 windows
I got windows XP, freshly installed, all updates from microsoft, Java SE JDK 1.6U17 installed , java_home variable set, and this is what happens

right after I double click the installer, ( java_ee_sdk-6-windows.exe , or java_ee_sdk-6-web-windows.exe it really doesn't matter which) the small box appears, and shows extracting files, and then the big left-blued right white big screen comes up, with the "openinstaller logo", and the blue hipnotic slash moving from side to side and and it says in the middle: INITIALIZING But, after 3 to 5 seconds it crashes, goes away, vanishes, not leaving a single message for me to figure out what is going on.

At first I thought it could be a bad installer file, so I downloaded another one, then I thought it could be the version, and I downloaded the web version, but it didn't help either.. Then I downloaded it once more. and nothing... it all happens the same way... I opened explorer, and checked the folders, Glassfishv3 folder had been created, but it was empty. I booted a million times, checked environment variables, checked SE JDK install, and it works ( textpad and netbeans 6.8 work !!! so, it is not my system...) Got everything original, no pirate copy on my box. all updates installed for everything. My system is a breeze. works great!! Its not the antivir, firewall, any of those cause I already shut them down, and it didn't help...

i don't know what else to do. I am starting to think it is the installer itself.

Has it happened to anyone else? Any suggestion? Help please, I got to get this thing going !!! I have already wasted 3 days trying to install JAVA EE 6 without any success....

Appreciate your help and concern, thanks everyone!!!

Marcelo
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38047
    
  22
Don't know myself (sorry), but welcome to the Ranch, both of you
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Have either of you run a memory test program?

I ask because I've installed various Javas on close to a hundred machines and *never* had any problems except for on a single machine (mine :( that ended up having a bad memory stick. I don't find it likely it's the installer itself, as Java's (obviously) been installed on hundreds of thousands, if not millions, of machines. So I have to consider the machine the primary suspect--but narrowing it down further than that is really difficult w/o being in front of it.

I'd consider memory, HD, OS, and libraries as the primary suspects, but the list is essentially endless.

Also check for any installer logs (there usually is one, if you can find it), and see if there are command-line options for turning up verbosity.
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
My case is not memory, hd, or anything hardware related.

I would guess that, while under beta versions, tha java ee 6 sdk for windows ( had no problem. ) It has something to do with the installer by the time they packed it all for final release. All the millions of installations done while beta, was another package. the final release is a new assembly of it. As it is new stuff, recently made available to all the millions of users, it's too early for SUN to get solid info or basis about the problem. I am not the only one that has been having trouble with that.
It seems that is XP especific issue, related to the openinstaller, not Sun's products.
I believe that soon we will have loads of complains about it. This is my bet. I might be wrong anyway.

Thanks all.
Marcelo
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I've installed the latest JEE6 SDK + GlassFish on at least a dozen machines over the last couple of days.

YMMV.
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hi David.

I understand most people don't have a problem with this. But a few might mave.

I am starting to think of the possibility that, Luciano, Gustavo and I, are from Brazil, and use Portuguese-br version of Windows....It could be the reason...
by the way, I got 2 PCs here, and it happens with both of them... all portugueses-br windows based system. ( all up-to-date, and reliable hardware )...

Maybe the portuguese-br windows is the one version of windows, that has has had issues with the packages... ( remember I downloaded different packages, the web and the full versions, and downloaded it more than once to make sure it was not a corrupt installer...

I still believe it has something to do with the openinstaller AND maybe the portuguese-br windows.

Thanks for the trying to help David

Marcelo
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
Hi there!
I couldn't test it, but I've seen some users at another forum discussing about the OS user which is running the installer.
I'll try to install the Glassfish v3 by the "Adminsitrator" user, although my user has the administrative privileges.

[]'s
Gustavo Ehrhardt
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hi Gustavo

I've already done that. As a matter of fact, I always do the install under ADMIN account, and use the PC as USER. I always log off, and login again as admin when I want to install or do mantainance of the system. It's not the reason ( at least not for me or for my system ) But you could give it a try, maybe it will work for you ( hope so )

do you use portuguese-br windows ?

Marcelo
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
@Marcelo

Yes I'm using Win XP (pt-BR).

[]'s
Gustavo Ehrhardt
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
I am sure that Luciano is from Brazil too, his name is definitely brazilian.

the situation is pointing towards the windows version. I am almost certain that this is it. Portuguese-BR Windows Version has an issue with the Open Installer.
I just wonder how to make it work, or better, how to make Sun be aware of that.

I looked over the bug report site from SUN, but didn't find an option on where ti post this issue.

Gustavo and Luciano, fellows from Brazil, does it happen the same way to you as it happens to me, as described on my first message?

[]s, thanks everybody

Marcelo
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2247
    
    7

Hi there for those who have trouble with the Java EE 6 SDK, ask yourself this:
What's the major between the EE SDK setup file and the say glassfish server only setup file? The SDK file has those docs and samples.

So why not just worry about glassfish server. I did the following for my WinXP computer in order:
1) uninstall existing Java SDK, glassfish, and netbeans
2) instal Java SDK 6u17
3) install glassfish 3 using the windows only setup file (exe one) - after this there are no start menus (default location c:\glassfishv3)
4) install glassfish 2 using the jar file - after this there are no start menus (make sure you extract the jar in C: and default location is c:\glassfish)
5) install netbeans 6.8 unchecking any servers
6) open netbeans manually adding glassfish 2.x and 3.x
7) start glassfish 2 using command "asadmin start-domain" (eg c:\glassfish\bin\asadmin start-domain)
8) go to http://localhost:4848 and http://localhost:8080 page should load and you should able to log in using admin
9) stop glassfish 2 using command "asadmin stop-domain" (eg c:\glassfish\bin\asadmin stop-domain)
10) repeat steps 7 to 9 for glassfish 3
11) if you want try deploy something

Oh for those need to change admin password = c:\glassfish\bin\asadmin change-admin-password --user admin
glassfish website at https://glassfish.dev.java.net/

Hope this help some people.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38047
    
  22
No longer a "beginning" question. Moving thread.
Luciano P. Andrade
Greenhorn

Joined: Dec 15, 2009
Posts: 5
Marcelo Gaspar wrote:I am sure that Luciano is from Brazil too, his name is definitely brazilian.

the situation is pointing towards the windows version. I am almost certain that this is it. Portuguese-BR Windows Version has an issue with the Open Installer.
I just wonder how to make it work, or better, how to make Sun be aware of that.

I looked over the bug report site from SUN, but didn't find an option on where ti post this issue.

Gustavo and Luciano, fellows from Brazil, does it happen the same way to you as it happens to me, as described on my first message?

[]s, thanks everybody

Marcelo


Hi Marcelo and everyone!

Yes, Marcelo, I'm from Brazil and I'm using the Brazilian Portuguese version of XP as you guessed.

Definitely, this is no coincidence and the issue is somehow related to our version of Windows. The question is: how to solve it? Have you tried installing EE SDK first and then Glassfish, as K. Tsang suggested? For my part, as I said above, I tried to install Java SE SDK 6 Update 17 with NetBeans IDE 6.8 and everything worked fine. Although this solved my problems for now I don't the consider the topic closed since the original issue wasn't solved and I hope to be developing with Java EE and Glassfish someday.

Strange enough, the bundle was installed using that same Open Installer. So, it seems a very specific issue regarding Open Installer, Java EE SDK 6 and Windows XP in Brazilian Portuguese. No wonder we're having a hard time finding information about it: Brazilian programmers developing in Java using XP and looking for help in English forums must be a pretty small group...Anyway, Sun's Forums are fairly lifeless and still, don't you think? I've posted there too but didn't received a single answer. Microsoft's are way more lively and helpful. Fortunately, things here in JavaRanch are much better!

Thanks for everyone trying to help.
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hi Luciano, and everyone else.

Yeap, it seams that we got into a common sense. It´s too much of a coincidence.
I got no reply from SUN's forum, but it's certanly because we are a "major minority"
I also have installed the netbeans bundle, with glassfish, but that is only a workaround to me too. K. Tsung wrote down (thanks buddy) how to get glassfish and netbeans to point to java ee jar file to get the libraries from ava EE 6.
I hope SUN will get to know this problem and try to solve it. I would like to have their package JAVA EE 6 SDK installed. and later on install Netbeans 6.8

I tried the bug report, at SUN's site, but couldn't find the JAVA EE 6 category to post this issue as a bug. Anyone there has any suggestion where in the Bug report post this issue?

I don't consider this subject closed either.

If you, or Gustavo, or anybody else get to know anything that could help, please post it here.

I always liked the english version of the OS better, any type of OS, but all of my Windows copies are portuguese. I am considereing talk to microsoft to get the english versions.

Thanks Luciano, Gustavo, and everyone else
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It could also be because it's a weekend, very close to a major holiday.
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
Hi guys.
I agree about the OS language could be the problem...
I'll try to do some install tests in some VM with an english Win XP.

Is this an issue to Open Installer or just to Glassfish pack?

[]'s
Gustavo Ehrhardt
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
LOL !!!
Yes that is it David !!!
And since it's a weekend close to a hollyday, and you are the bartender, let's celebrate !!! could you fill up my beer mug? Thanks !!!
LOL
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Rodrigo Lira
Greenhorn

Joined: Dec 23, 2009
Posts: 2
Hi everyone!

I'm one of you who tried installing Java EE package and couldn't. I got the same error all of you described.

I've been trying to find a solution for this for a while. I tried to install the package at work (Win XP Pt-Br) and it didn't work.

But.... At home I use english Win XP and I got the same error...

So, I just wanted to let you know that probably isn't related to the Pt-Br version. I didn't try the solution provided by Tsang yet (as I just found this post). I'll test it when I get home.

I hope Sun can fnid this problem. Now, I'm thinking about sending them the install logs. Maybe they can figure out what's happening.

Thanks.
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
Hey fellows!

I still don't know how to solve the glassfish v3 installation problem.
BUT the install with the glassfish-v3.zip worked to me after removing a quotation char (") from the PATH and JAVA_HOME variables.
I've tried to run the installer after this change, but no success.
I hope it can help.

[]'s
Gustavo Ehrhardt

Gustavo Ehrhardt wrote:

I'm experiencing the same situation.
I've tried to download other bundles, but no success.
When I extracted the glassfish-v3.zip and tried to start the server I've got the stack trace:



Anybody can suggest me anything?

[]'s
Gustavo Ehrhardt
breno costa
Greenhorn

Joined: Dec 30, 2009
Posts: 2
Hi everyone, I'm with the same problem, live in Brazil and I'm Windows XP pt-br user... It was as much will to test the news features
(JPA 2,0 mainly) of the JEE6 but unhappyly i'm not obtaining because of this problem....


SCJP 5.0 | SCWCD 5.0 | SCBCD 5.0
Gustavo Ehrhardt
Greenhorn

Joined: Dec 15, 2009
Posts: 6
Hi Breno!

Try to use the Glassfish tools bundle for Eclipse (1.1.9).
This "package" has a Glassfish v3 embedded.

breno costa wrote:Hi everyone, I'm with the same problem, live in Brazil and I'm Windows XP pt-br user... It was as much will to test the news features
(JPA 2,0 mainly) of the JEE6 but unhappyly i'm not obtaining because of this problem....
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hey guys,
Happy new year ( late ) to everyone.
Just came back from my well deserved vacations, after three years without any rest.

It seems the issue with openinstaller didn't get any solution. Interesting it happend with english windows version too. But still, there must have another thing in common with our setups, that is causing it. I Guess David is right. Hey David !!! Anyway, let's get moving.

Let me ask you, the Glassfish Eclipse Bundle has the same Admin page Java EE 5 has, and I believe ( cause I didn't see it installed yet ) EE 6 has too?
sorry for the stupid question. Is it somehow similar in use as the java EE X bundle?

Thanks folks
Amgad Muhammad
Ranch Hand

Joined: Mar 26, 2008
Posts: 46
Hi Guys,

I faced the same problem and it was solved.

what I did is

1-Un-installed all the JDKs or JREs installed on the system
2-Un-installed the netbeans
3-Installed JDK6 build 8
4-ran the EEJDK6 installation and it worked fine.

I hope this could help


Regards,
Amgad


SCJP5-(100%)
Marcelo Gaspar
Greenhorn

Joined: Dec 17, 2009
Posts: 9
Hi Guys;
Sorry for the next line:
@#$!%@!!! @$!@!@!!!

This thing is annoying me!!!.

I uninstalled JDK SE u17, installed u18, tried the EE6 install packs, tried the eclipse bundle, tried the glassfish standalone; and guess what?!?!

it all happens the same way every time, no matter what I do it won't install !!!

I am out of ideas. I Have searched all over and I can't find a clue. I am about to give up.

Here is possibly my way out to this. I have on this same machine, another windows, ( Vista ultimate 64 bits - all up to date )

but I never went through the road to install JAVA SE, JAVA EE, MYSQL and NETBEANS on a 64 bits system.

My major concern is about MySQL, I know there is a version of MySql for 64 bits Windows, but, will tables and schemas made under 64 bits, be readable by 32 bits version of MySql?

Appreciate any help on this.

Thanks guys
Marcelo
Uma Bandaru
Ranch Hand

Joined: Jul 30, 2009
Posts: 31
I downloaded Java EE6 Web profile SDK on my machine (running Windows 7) yesterday and tried to install it. The installation stops at a point where it says "No valid JDKs and JREs were detected on this system" and asks me to type the location of Java SDK, even though I already have the standard JDK installed in my C directory. I enter the location of JDK, but it refuses to accept that and says that "Invalid or incompatible Java directory".

Can any one help me on this?

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please start a new thread for new topics. What JDK are you trying to use?
Thomaz Philippe
Greenhorn

Joined: Jun 08, 2010
Posts: 1
Hello Guys,

I'm a Brazilian guy too, using Windows 7. The problem for me had been the language format of the windows system. I found a solution for me that can be a try for some of you.

I selected "Control Panel > Region and Language > Formats:"

In the "Format:" field I've changed the "Portuguese(Brazil)" and selected the "English(United States)". Immediately I could install the java_ee_sdk-6-windows.

I hope that it can help you.

Thomaz Philippe

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38047
    
  22
Welcome to the Ranch Thomaz Philippe.
Delroy Blur
Greenhorn

Joined: Oct 18, 2010
Posts: 1
Hello everyone.

Just registered here to tell you one thing: ensure there are NO SPACES in the Java EE SDK setup file.

That was my case. After I removed spaces from the file name and runned it, there were no silent crashes and now I'm looking at the setup first page.

My version: Java EE 6 SDK Update 1.
For those who asks "why?" - installer unpacks setup files to temp directory, then it passes the JRE executable a bunch of parameters, including name of that directory, which itself has the installer filename in it's name, and it is somewhy not taken in quotas (not escaped correctly), so there happens a NullPointerException without any notice to the user.

Good luck.
huang xiubin
Greenhorn

Joined: Dec 06, 2010
Posts: 1
Don't modify the file name,that's ok!
Gook luck!
Swara Sai
Greenhorn

Joined: Jan 15, 2011
Posts: 1
Hi, I was facing the same prob with Java EE 6 SDK installation.......the installation was stopping in middle without any error messages........
but its solved now......
after you click the "java_ee_sdk-5_6-windows-nojdk.exe." button,
instead of run , click on save button
to save on your system.........after you save it .....then double click
on the saved icon.......then you will be able to install JAVA EE....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help needed with Java EE SDK 6 installation on Windows XP
 
Similar Threads
I can't start tomcat service
Can't import user-defined packages on Windows
What is the latest SDK necessary for running and compiling java?
Trying to install j2se 1.3 in XP home edition
Path Name Again