Menu

#15 NCIDpop will not execute

v1.0_(example)
open
None
1
2019-03-21
2019-02-21
Anonymous
No

I have downloaded NCIDpop-Win32-0.10.11.exe and applied it using admin, it installs, but when it tries to run NCIDpop a window pops up and closes, then nothing. the JAR file doesnt show as executable. what need to be done to make it executable? as I cant find instructions for doing this.

Discussion

  • John L. Chmielewski

    • assigned_to: Ed Attfield
     
  • Ed Attfield

    Ed Attfield - 2019-02-25

    I found a windows 7 machine in the house to try this out on. I did the same as you described, logging in as Admin and downloading the NCIDpop-Win32-0.10.11.exe file and running it to install java and ncidpop.
    It didn't behave as I expected and I uninstalled it and installed again from the user account.
    -- It still didn't behave as I expected.

    Long story short, I think it needs more documentation because it doesn't behave the way we expect.

    I found that it lives in the system tray at the bottom right of my screen. I can right-click on it to choose how I want to open it. This works just fine.

    Running the jar file puts another icon into the system tray. I had four of them before I figured this out. Apparently it can only be launched from the system tray.

    Let me know if this is also what you are seeing.

    Ed

     
  • Anonymous

    Anonymous - 2019-03-04

    Hi Ed, sorry, Im using W10 not W7.
    my problem is I have to put a java executable into a bat file and run it after the Laptop has started-up to get NCIDpop to load, it then runs OK until a reload or the next time I load the Laptop.
    The bat file contains

    javaw -jar "C:\Program Files (x86)\NCIDpop\NCIDpop.jar"

    as the .jar file shows as a JARfile in file manager and not as an executable JAR as it does on my other machines, they all start up and work OK at start.

    dont know if running the NCIDpop-Win32-0.10.11.exe should make NCIDpop.jar executable or I am missing doing something with Java.

    Hope this makes sence

     
  • Ed Attfield

    Ed Attfield - 2019-03-05

    Are any of your other machines on Windows 10?

    You should not need the bat file, because NCIDpop is supposed to start at boot time and hide in the system tray at bottom right.
    When I run the jar file, it just puts another icon into the system tray.

    It seems that it is not among the things that are being started at boot time, though this should have been done by the installer.

    Stupid question: have you tried uninstalling it and installing it again (by running NCIDpop-Win32-0.10.11.exe) from your usual login account? -- This won't touch the java installation.

     
  • Anonymous

    Anonymous - 2019-03-08

    Hi Ed,
    I have two W10 systems running NCIDpop with no problems, I have checked my main PC and it is running 10.10, so I even trird installing that, all seem the same.
    The install prog runs and at the end it has the run box ticked, then a Windows Command box opens and very quickly closes (to fast to see what it says) then nothing.
    I have attached a screen clip of the screen after I run the BAT file with the Command box open and NCIDpop showing in the system tray, this works OK until the Laptop is loaded again.

    Any other ideas?

     
  • Ed Attfield

    Ed Attfield - 2019-03-08

    You will want do do this in all your windows 10 machines to compare.

    I hope the laptop is not one of the feature-disabled Home Edition ones.

    To examine the executable, find the NCIDpop jar file with the windows explorer file browser
    Select it
    Right click Properties
    * click the security tab
    Mine shows three user groups, SYSTEM, Administrators, Users. Each group has check marked Permissions that can be changed with the Edit button. Mine give all the permissions to SYSTEM, most to Administratorsa, and Read and READ&Execute to Users.

    I expect that it can't start at boot if SYSTEM doesn't have execute permission.

    Windows-key R (the key with the windows picture and the R key) bring up a line where you can type msconfig.
    This will bring up a screen with a startup tab. Ncidpop should be listed with a check mark and the correct command path. (Location is the location of the key in the registry)

    The other place I've seen a permissions problem is in reading the properties stored for the NCIDpop preferences, but I have not yet found where this is kept.

     
  • Anonymous

    Anonymous - 2019-03-13

    Hi Ed,

    I have done the checks as you said and everything looks ok except on this Laptop where NCIDpop fails to start at start-up has extra admin and user as it is a French machine, but all permissions look ok.
    msconfig also looks ok.

    I have taken a video of the start-up on my phone and grabbed the failing message pop-up, I have attached this so you can see the error message. says it can't find the file to run, but it looks the same place as the screen shot I sent above in a previous post.

    May help by seeing the error message.

     
  • Ed Attfield

    Ed Attfield - 2019-03-14

    It's interesting that the window title says it's in java.exe rather than javaw. A search says this gives the console window and javaw doesn'y.

    I'm purely guessing at this point, but I suspect there is something different about the current working directory when the java command is invoked, or a problem with the classpath.

    https://javarevisited.blogspot.com/2015/04/error-could-not-find-or-load-main-class-helloworld-java.html

    THe main() entry point is in the NCIDpop class file inside the NCIDpop.jar file.

    Perhaps you could add to your bat fle and invokethe bat file at startup?

     
  • Anonymous

    Anonymous - 2019-03-14

    Hi Ed
    my bat file works with javaw, the one that is failing at startup is the NCIDpop bat created from the NCIDpop install. that is the java.exe bat.

    how and where do I get at this bat file to amend it?

    or do you mean amend my bat file and see if that runs?

    not sure what you want me to do.

     
  • Ed Attfield

    Ed Attfield - 2019-03-17

    The command to run something at startup is in the registry. You can examine and modify the registry with windows-key-R and typing regedit in the box. You could modify the entry that invokes the ncidpop.jar file into one that invokes your ncidpop.bat file.

    I'm not sure this will help, because I still think there must be a difference in permissions for the SYSTEM user group. (Not that I know very much about WIndows.)

     
  • Ed Attfield

    Ed Attfield - 2019-03-21

    In my March 3rd message I wrote this, and I'm wondering if you found the permissions:

    To examine the executable, find the NCIDpop jar file with the windows explorer file browser
    Select it
    Right click Properties
    * click the security tab
    Mine shows three user groups, SYSTEM, Administrators, Users. Each group has check marked Permissions that can be changed with the Edit button. Mine give all the permissions to SYSTEM, most to Administratorsa, and Read and READ&Execute to Users.

    I expect that it can't start at boot if SYSTEM doesn't have execute permission.

    If you click on a user group, like SYSTEM, it shows a different set of checkmarked permissions for what the group can do. I wasn't sure from your reply that you had examined each one and compared it to your other machines.

    You might also look at the default file association to make sure that the jar file is being opened by the right program: https://www.maketecheasier.com/change-file-associations-windows10/

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.