Vista install

Poster Content
nk4um User
Posts: 15
July 19, 2007 22:15Oops ...
Thanks Tony for the suggestion to check the integrity of the jar file. I must have been a bit too tired to think straight at the time.

Marek.
nk4um User
Posts: 15
July 19, 2007 22:12Problem solved - looks like it is an invalid miror download file
I''ve downloaded from Dublin the headless installation and the downloaded file was corrupt.

I''ve then tried the download from the US and the installation file was identical in size, however it expanded with WinZip without the problems that I had with the first Dublin file.

So at first glance it appears that the mirror may have a corrupt file.

Anyway, now it runs like a charm.

Just for those interested, if you run the InstallNetKernel-NT.bat file, make sure that you run it as Administrator, otherwise you will get an error.
nk4um Moderator
Posts: 485
July 19, 2007 07:40A few more checks
Thankyou for providing this information. I have a few more questions.

Which JVM are you running? (java -version)

It is interesting that the timestamp is different. Can you manually open the jar and confirm it isn''t corrupted?

Third test is to remove this file from the directory and try starting up NetKernel again. Does it have the same problem with another one of the files in this directory? (NetKernel may not run properly without this jar on certain JDKs) This test will show if the JDK endorsed jar stuff is broken on Vista/your JVM.

Cheers,
Tony
nk4um User
Posts: 15
July 18, 2007 22:00file permissions
The file has read and execute permissions. It exists and the permissions are the same as other files in the directory. The only difference is that of the timestamp. I''ve included the directory listing where the file is located.

C:\\1060-NKSEDK-3.2.0\\lib\\endorsed>dir
Volume in drive C is OS
Volume Serial Number is 8A18-080A

Directory of C:\\1060-NKSEDK-3.2.0\\lib\\endorsed

07/14/2007  20:02    <DIR>          .
07/14/2007  20:02    <DIR>          ..
06/13/2007  09:50           278,286 serializer.jar
07/12/2007  22:46         1,840,847 xalan.jar
06/13/2007  09:50         1,223,708 xercesImpl.jar
06/13/2007  09:50           194,354 xml-apis.jar
06/13/2007  09:50         1,831,079 xsltc.jar
               5 File(s)      5,368,274 bytes
               2 Dir(s)   4,821,438,464 bytes free


I''m not quite sure if anybody has any other suggestions. Maybe I should try downloading the package from another mirror (I used the Dublin one). Mind you, I doubt that this would have any effect, since the package installed without any errors.
nk4um Moderator
Posts: 485
July 17, 2007 13:24Tracking this one down
Hi Marek,

when you originally installed NetKernel at C:\\1060-NKSEDK-3.2.0\\ does jar file you had problems opening exist? Or maybe it has some strange permissions?
C:\\1060-NKSEDK-3.2.0\\lib\\endorsed\\xalan.jar

The problem is that we can''t recreate your situation. However I feel it is important that we get to bottom of the problem you are having installing on Vista as I''m sure other people will run up against it.

Cheers,
Tony
nk4um User
Posts: 15
July 17, 2007 12:36installation location
I installed to C:\\1060-NSDK directory. Did not use the "Program Files" because it wouldn''t install there in the first place.
nk4um Moderator
Posts: 756
July 17, 2007 12:26Vista User
The whole installation was done as my standard logon.  I did not change user or switch to an admin account (AFAIK but I have zero experience of Vista - you know much more than I do.).

Please persevere and post your experience here so that others can follow.

P.

PS I can confirm that I got it running with no too much hassle - but do not install into the "C:\\Program Files" path since Vista goes nuts if you do.
nk4um User
Posts: 15
July 17, 2007 12:15UAC - User Access Control
It''s a new feature in Vista that enables users by default to run as a normal user and only execute certain functions as administrator, even if you belong to an admin group.
nk4um Moderator
Posts: 756
July 17, 2007 12:13UAC?
Sorry I don''t use Windows.  What is UAC?  This was a completely vanilla just out of the box Vista system.  I haven''t modified any settings.

P.
nk4um User
Posts: 15
July 17, 2007 12:11OK ... them I must be doing something wrong
Hi Peter,

In that case the only difference must be that I''m using 32-bit Vista (also Business edition).

Did you have UAC turned on or off?

Thanks, Marek.

PS. Sorry, after reading the "vista pro" thing or "XP 64-bit" I assumed that you were working on XP.

PPS. I''m also thinking of switching to Linux, but can''t do it just yet.
nk4um Moderator
Posts: 756
July 17, 2007 12:02
Hi Marek,

The howto above *is* for Vista.   I followed that procedure and it worked.

For the record I installed NetKernel on Windows Vista Business 64-bit running on a AMD-64 Turion x2 with Java 1.6.

Cheers,

Peter

PS I use Linux day to day - I just couldn''t stand the hassle of Vista for very long!
nk4um User
Posts: 15
July 17, 2007 11:56On Vista ... not XP
Hi Peter,

Thanks for the tips, however I was referring to Vista and XP Pro 64-bit.

On my XP it works like a charm as well. It''s when I get to Vista that I have the problems described in post 1 of this thread.

Thanks, Marek.

PS. My Java install is in my path already.
nk4um Moderator
Posts: 756
July 17, 2007 11:39Vista Install HowTo
Hi Marek,

I just installed and ran on clean install of Vista Pro using Java 1.6.  Here''s the details.

1) Double click 1060-NetKernel-SE-DK3.2.0.jar
2) Do *not* select the default install path "C:\\Program Files\\1060-NetKernel\\" - Vista monitors the install and detects the startup.bat and decides this is "a bad thing".  It then stops the installer from proceeding!.  I installed successfully to C:\\1060\\NKSE3.2.0
3) You might be lucky with your Java install and have it in the PATH. If so try C:\\1060\\NKSE3.2.0\\bin\\startup.bat.  If it works then you''re done.
4) If java is not in your path you need to search in the control panel to find the dialogue to set the PATH enivronment variable.  You need to add a path element to your java installation.  On my 64bit XP it was C:\\Windows\\sysWOW64 - I guess this will vary by JVM and Vista bit version.

I gave NK a quick test run. All seems to work fine.

Peter
nk4um User
Posts: 15
July 17, 2007 10:49I know that it's a Vista issue
Hi, thanks for the response ... I know that it is a Vista issue but am wondering if it''s me doing something silly or if it just simply doesn''t work on Vista ... period.

Has anybody managed to get it to work on Vista?

Thanks, Marek.
nk4um Moderator
Posts: 485
July 17, 2007 09:40Works on JDK1.6 on XP SP2
so it must be a Vista specific issue. I guess that narrows it down but doesn''t actually solve the problem unfortunately.
nk4um User
Posts: 15
July 15, 2007 13:25Vista install
Hi,

I''ve got Vista installed on my laptop and wanted to set-up NetKernel.

On XP there were no problems, worked like a charm. On Vista I have nothing but headaches.

I ran the graphical installer and everything installed without any errors.

I tried to straight away set it up as a service and be done with that, but couldn''t get past the silly UAC, ie. not being able to run as admin.

Then tried to run from the command line without the service stuff and it wouldn''t launch with the following error:

C:\\1060-NKSEDK-3.2.0>bin\\startup.bat
Error occurred during initialization of VM java/lang/ClassNotFoundException: error in opening JAR file C:\\1060-NKSEDK-3.2.0\\lib\\endorsed\\xalan.jar

I''m running with the follwing verion of Java (JDK):

C:\\1060-NKSEDK-3.2.0\\bin>java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

Has anybody run this on Vista ... I''d rather prefer this then going to the trouble of setting a Linux VM at this early point in time?

Thanks, Marek.