473,409 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

why installing jdk sometimes ask for reboot and sometimes not?

Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.

Thanks
Jul 17 '05 #1
6 4508
Stephane Dalpe wrote:
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.


I've installed dozens of JDKs on OS/2 and Linux, and have never had to
reboot the system.

Of course, you may be running some different platform -- I don't know,
you didn't specify.

Brad BARCLAY

--
=-=-=-=-=-=-=-=-=
From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project: http://www.jsyncmanager.org


Jul 17 '05 #2
Maybe because it install also jre, which change some things in the
windows registry, and I think some windows versions can reload the
registry "dynamically" (winnt-2000-xp...), and other can not (win95-98...)

Stephane Dalpe wrote:
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.

Thanks


Jul 17 '05 #3
Brad BARCLAY <bb******@jsyncmanager.org> wrote in message news:<U7******************@news04.bloor.is.net.cab le.rogers.com>...
Stephane Dalpe wrote:
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.


I've installed dozens of JDKs on OS/2 and Linux, and have never had to
reboot the system.

Of course, you may be running some different platform -- I don't know,
you didn't specify.

Brad BARCLAY

Personnally, I was never ask for rebooting, but someone here in the QA
team was asked on Win2000. I've tried on win2000 and winXP, with older
version of JDK, without older version, uninstall - reboot - reinstall,
uninstall and reinstall without rebooting... and I was never asked.
I've look in the documentation, it say that "you may be ask"... thanks
for the details.
Jul 17 '05 #4
"Christophe M." <mc******@yahoo.com> wrote in message news:<3f**********@news.vo.lu>...
Maybe because it install also jre, which change some things in the
windows registry, and I think some windows versions can reload the
registry "dynamically" (winnt-2000-xp...), and other can not (win95-98...)

Stephane Dalpe wrote:
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.

Thanks


I've tried with JRE already install and without the JRE. We only use
win2000 or winXP here. Me, I was never ask for rebooting, but someone
here on win2000 was asked.
Jul 17 '05 #5
"Stephane Dalpe" <da***@interfacing.com> wrote in message
news:21**************************@posting.google.c om...
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.


In most cases, when an install sometimes asks for a reboot and sometimes
it doesn't, it's because a file or directory (or other resource) was in use
and
locked. This can be a text editor, browser, etc. with a target file open in
it
(the file doesn't even have to be currently open if the tool failed to
unlock
the file when it was done).

If you've closed all applications (which you should), and it still happens,
it's likely that a service is accessing something in the target area. Check
the processes tab in the task manager and see if something looks likely.
(Obviously if you see 'java' running it's a likely candidate.)

Incidentally, email programs can sometimes have a serious impact on windows
installs - Outlook, especially, can make an install look like it has
stopped.
(Usually it hasn't, but it can take a LONG time to complete.) This doesn't
usually require a reboot, though.

Then next time it happens, you could try searching the registry for the key
"Runonce" (I think that's it) and see if you can discover what operation is
being blocked during the install. -Wm
Jul 17 '05 #6
On Thu, 04 Sep 2003 08:06:12 +0100, "Christophe M." <mc******@yahoo.com>
two-finger typed:
Stephane Dalpe wrote:
Hi all,
I just want to know why when I'm installing jdk sometimes ask me to
reboot and sometimes he don't. As part of our installation, we launch
the jdk installation if it's not already installed, so it's important
to know when the user will be asked to reboot.

Thanks
Maybe because it install also jre, which change some things in the
windows registry, and I think some windows versions can reload the
registry "dynamically" (winnt-2000-xp...), and other can not (win95-98...)


The DOS heritage 32-bit Windows versions (Win 95/98, and perhaps
Millennium) get their PATH variable from the AUTOEXEC.BAT.

That means that that variable only changes (as seen by the system) after a
reboot.
Windows NT, 2000 and XP have the variables set in the 32-bit environment
and can change them on-the-fly.

For the JRE Plugins to work in Netscape, Opera or Mozilla (from what I have
experienced in Win2000), and the java.exe and appletviewer.exe command to
be available to the console/DOS Prompt (although a batchfile in a directory
that IS in the path can provide relief), the PATH environment variable
needs to have the JRE's bin directory in it.

So a reboot is needed in Win95/98(/Me?).

It should be entirely unnessessary in Win NT and its ilk, though.

Cheers.
--
From a guy who was involved in computer and DOS/Windows from the good old
days (PC computing since 1989 when Commodore released the AMIGA PC XT
Bridgeboard with a 8088 @4.77 Mhz... Argh! I'm Oooooold... and unemployed
:-(
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Walter Jones | last post by:
I am currently using VB 4.0 with WindowsXP Home Edition and would like to continue to use it and also use Visual Basic.net The help file states that "Windows XP Home Edition provides limited...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
1
by: Ambar | last post by:
Hi I am trying to install dotnet 2003 using installer CD. When I am trying to install 'Visual Studio .Net Prerequisites' from step 1 Its saying 'Setup has detected another programm requires the...
5
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On...
0
by: Mike Oliver | last post by:
I'm having an issue installing a Windows Service on Win 2K3. After the installation, the service shows up in the Services list through Control Panel, but after the server reboots, it disappears...
0
by: Mark | last post by:
We're installing the .NET Framework 2.0 on a production web server. Windows update claims "After you install this update, you may have to restart your computer." Under what conditions is the...
2
by: Rich | last post by:
Hi, I'm trying to install VB.net 2003 on Windows XP Home SP1. When I run the setup program I get the usual menu of 4 items. Everytime I click to install the programs on the Prerequisites CD it...
1
by: Aaron | last post by:
Not sure if this is the best spot to post this question, but I am not going to pay money to ask an installation question.... Anyways I am trying to install C# standard 2003 and it analyzes the...
2
by: Peter Oliphant | last post by:
I'm currently trying to install VC++ 2008 Express Beta 2. It downloads all the files just fine. Then it begins to install .NET Framework 3.5. This starts, but at around 5% done according to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.