Menu

#3951 Install Error - cannot create folder (permissions?)

normal bug
closed-works-for-me
nobody
2
2016-03-28
2016-02-18
rrjmdpa
No

I have used jEdit for years on this machine but haven't updated it for some time. Today I tried again and remember why. With latest updates of Windows 10 and Java on board - I can dowload the installers/exe of the latest jEdit but when I run them it continually gives me (after running through all the disclaimers I need to accept) an error that it "cannot create the folder" in the program file for the 5.x version. Then asks me if I've got permissions? I have permissions, as the sole owner and admin of the machine. I went in and created the folder myself without error - BUT it still gave me the same error message. Does win 10 not recognize jEdit as a "safe installer" or something - I don't know what changed.

I've tried every setting/method I can think of - is there a bug in the installer, or is there some special proceedure for installing on Win 10 or something that I don't know about?

Related

Bugs: #3951

Discussion

  • Alan Ezust

    Alan Ezust - 2016-02-18

    Are you using a pre-installed version of Java? What version is it? Do you have the same problem after installing a recent JRE from Oracle?

     
  • rrjmdpa

    rrjmdpa - 2016-02-18

    Well, like I said in my original post - I have the latest updates of both win 10 AND java - and YES the problem I detailed still occurs after all the troubleshooting I can think of including updating everything. [JAVA (build 1.8.0_73-b02)]

    The only thing that may be a clue or not is that I did upgrade to win 10 when it came out (after the orig install of jEdit) and several "updateable" programs now have to go through permissions "do you really want to do this" type things; BUT with others I usually get a "permission" pop-up. And, like I said, with jEdit the only thing I get is a complete bork message that it can't open the new folder and the question "do you have permissions."

     

    Last edit: rrjmdpa 2016-02-18
  • Alan Ezust

    Alan Ezust - 2016-03-27

    Are you using the windows installer, or the platform-independent .jar installer?

     
    • rrjmdpa

      rrjmdpa - 2016-03-27

      Alan.

      Although working on the issue yet again for over an hour trying to
      intuitively piece things together has now got me a fully updated jEdit - I'm
      sorry to report now that I still can't attest that I've helped you solve any
      issue.

      Your question about which installer I used: I used BOTH several times. Back
      a month ago when I reported the issue, each time I tried to update to the
      new version I got the error that "jEdit couldn't create the folder" and that
      was it. No further explanation. Additionally, as you may remember, I have
      mentioned in the past that I hadn't been able to update any plugins for even
      longer than that, so gave up trying.

      Now TODAY, after receiving your latest question, I gave it another slog the
      exact same way I had done several times before (using the windows
      installer)- went through all the preliminary question windows (just as I
      had done before) and finally got into where it should be downloading and
      today it actually worked. I can only surmise that in the past month, since
      I reported it, someone has either flipped a switch or made some alterations
      cause nothing has changed on my end with either the computer or me.

      However, with success in the program update, I again tackled the plugin
      updates with the same problems I had had many, many times in the past. The
      thing tells me that a growing number of plugins are outdated and need
      updating, I select one or many, I press install and it waits for perhaps 30
      sec before telling me several different things like it had timed out and to
      try another mirror or connection refused etc. By accident today I noticed
      "download options" and ran through those updating the mirror list. Many
      were for North America and I tried multiple ways to install one small plugin
      or several at a time, using each of the north American mirrors in turn from
      the bottom up. Not one would work and gave the varied errors either almost
      immediately or after 30 sec's delay.

      But when, through sheer cussedness, I got to the Canadian link it
      immediately took charge and had the whole thing downloaded and installed
      before I realized that it was working!

      So, the only things I can report is: 1 - the Windows installer does work
      now, for the latest update of win 10, don't know what changed; 2 - that
      needing to leave the update screen to manually hunt and change between
      mirrors was not at all intuitive to me and was the cause of much of the time
      spent in figuring things out for the plugin end of the problem; and that 3 -
      Going back and forth activating each north American mirror in turn showed
      that none of them actually worked; BUT the Canadians are doing great!

      If others have struggled through troubleshooting their plugin update process
      like I did (and I suspect there's got to be more than me), perhaps clearer
      instructions about where and how to change mirrors (ie the button is not
      labeled "mirrors" but options, and on a completely different page which
      covers the former page) and that more than the average persistence may be
      required might help us dummies through it faster - who can tell.

      Thanks for responding. Even though your question didn't actually solve an
      issue it led me to more persistence and trying again and I can now go back
      to using jEdit for editing xml like I want.

      OOPS SORRY! Another crisis: The XML.jar plugin crashes. It did install
      without errors from the update page. However, the first time I opened jEdit
      afer updating everything I got a crash error box that xml.jar gave a
      beanshell error and couldn't be loaded!\

      I've now tried several times to delete it and update it and continually get
      the following error messages in the boxes: No idea what they mean, perhaps
      you do.. So, I'm still up a creek now even further.

      C:\Users\DJ\AppData\Roaming\jEdit\jars\SQL.jar:

      Requires xml.XmlPlugin, but xml.XmlPlugin

      could not be loaded.

      C:\Users\DJ\AppData\Roaming\jEdit\jars\XML.jar:

      Cannot start: java.util.regex.PatternSyntaxException: Illegal/unsupported
      escape sequence near index 3

      C:\Users\DJ\AppData\Roaming\jEdit

      ^

      Try updating to a newer version of the plugin.

      java.lang.NoClassDefFoundError: xml/parser/XmlParser

                  at java.lang.ClassLoader.defineClass1(Native Method)
      
                  at java.lang.ClassLoader.defineClass(Unknown Source)
      
                  at java.lang.ClassLoader.defineClass(Unknown Source)
      
                  at
      

      org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:435)

                  at
      

      org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)

                  at java.lang.ClassLoader.loadClass(Unknown Source)
      
                  at
      

      org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImp
      l.java:203)

                  at
      

      org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)

                  at
      

      org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)

                  at
      

      org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)

                  at
      

      org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)

                  at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
      
                  at
      

      org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:60)

                  at
      

      org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE
      xpression.java:86)

                  at
      

      org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja
      va:62)

                  at
      

      org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102
      )

                  at
      

      org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)

                  at
      

      org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)

                  at
      

      org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)

                  at
      

      org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)

                  at
      

      org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:153)

                  at
      

      org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:117)

                  at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:382)
      
                  at
      

      org.gjt.sp.jedit.ServiceManager$Descriptor.getInstance(ServiceManager.java:3
      44)

                  at
      

      org.gjt.sp.jedit.ServiceManager.getService(ServiceManager.java:270)

                  at
      

      sidekick.SideKickPlugin.getParser(SideKickPlugin.java:237)

                  at
      

      sidekick.SideKickPlugin.getParserForBuffer(SideKickPlugin.java:293)

                  at sidekick.SideKick.setParser(SideKick.java:214)
      
                  at sidekick.SideKick.handlePluginUpdate(SideKick.java:345)
      
                  at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown
      

      Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
      

      Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)
      
                  at org.gjt.sp.jedit.EditBus.dispatch(EditBus.java:242)
      
                  at org.gjt.sp.jedit.EditBus.sendImpl(EditBus.java:281)
      
                  at org.gjt.sp.jedit.EditBus.access$200(EditBus.java:87)
      
                  at
      

      org.gjt.sp.jedit.EditBus$SendMessage.run(EditBus.java:461)

                  at org.gjt.sp.jedit.EditBus.send(EditBus.java:206)
      
                  at org.gjt.sp.jedit.jEdit.addPluginJAR(jEdit.java:1240)
      
                  at
      

      org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInAWTThread(Roster.java:1
      19)

                  at
      

      org.gjt.sp.jedit.pluginmgr.InstallPanel$InstallButton.actionPerformed(Instal
      lPanel.java:1234)

                  at javax.swing.AbstractButton.fireActionPerformed(Unknown
      

      Source)

                  at
      

      javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

                  at
      

      javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

                  at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      
                  at
      

      javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

                  at java.awt.Component.processMouseEvent(Unknown Source)
      
                  at javax.swing.JComponent.processMouseEvent(Unknown Source)
      
                  at java.awt.Component.processEvent(Unknown Source)
      
                  at java.awt.Container.processEvent(Unknown Source)
      
                  at java.awt.Component.dispatchEventImpl(Unknown Source)
      
                  at java.awt.Container.dispatchEventImpl(Unknown Source)
      
                  at java.awt.Component.dispatchEvent(Unknown Source)
      
                  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
      

      Source)

                  at java.awt.LightweightDispatcher.processMouseEvent(Unknown
      

      Source)

                  at java.awt.LightweightDispatcher.dispatchEvent(Unknown
      

      Source)

                  at java.awt.Container.dispatchEventImpl(Unknown Source)
      
                  at java.awt.Window.dispatchEventImpl(Unknown Source)
      
                  at java.awt.Component.dispatchEvent(Unknown Source)
      
                  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      
                  at java.awt.EventQueue.access$500(Unknown Source)
      
                  at java.awt.EventQueue$3.run(Unknown Source)
      
                  at java.awt.EventQueue$3.run(Unknown Source)
      
                  at java.security.AccessController.doPrivileged(Native
      

      Method)

                  at
      

      java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivileg
      e(Unknown Source)

                  at
      

      java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivileg
      e(Unknown Source)

                  at java.awt.EventQueue$4.run(Unknown Source)
      
                  at java.awt.EventQueue$4.run(Unknown Source)
      
                  at java.security.AccessController.doPrivileged(Native
      

      Method)

                  at
      

      java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivileg
      e(Unknown Source)

                  at java.awt.EventQueue.dispatchEvent(Unknown Source)
      
                  at
      

      java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

                  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
      

      Source)

                  at
      

      java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

                  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      
                  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      
                  at java.awt.EventDispatchThread.run(Unknown Source)
      

      Caused by: java.lang.ClassNotFoundException: xml.parser.XmlParser

                  at java.net.URLClassLoader.findClass(Unknown Source)
      
                  at java.lang.ClassLoader.loadClass(Unknown Source)
      
                  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
      

      Source)

                  at java.lang.ClassLoader.loadClass(Unknown Source)
      
                  at
      

      org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:518)

                  at
      

      org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:87)

                  at java.lang.ClassLoader.loadClass(Unknown Source)
      
                  ... 76 more
      

      From: Alan Ezust [mailto:ezust@users.sf.net]
      Sent: Sunday, March 27, 2016 11:15 AM
      To: [jedit:bugs]
      Subject: [jedit:bugs] #3951 Install Error - cannot create folder
      (permissions?)

      Are you using the windows installer, or the platform-independent .jar
      installer?


      [bugs:#3951] https://sourceforge.net/p/jedit/bugs/3951/ Install Error -
      cannot create folder (permissions?)

      Status: open
      Group: normal bug
      Labels: install - error cannot create folder win 10
      Created: Thu Feb 18, 2016 08:05 PM UTC by rrjmdpa
      Last Updated: Thu Feb 18, 2016 10:30 PM UTC
      Owner: nobody

      I have used jEdit for years on this machine but haven't updated it for some
      time. Today I tried again and remember why. With latest updates of Windows
      10 and Java on board - I can dowload the installers/exe of the latest jEdit
      but when I run them it continually gives me (after running through all the
      disclaimers I need to accept) an error that it "cannot create the folder" in
      the program file for the 5.x version. Then asks me if I've got permissions?
      I have permissions, as the sole owner and admin of the machine. I went in
      and created the folder myself without error - BUT it still gave me the same
      error message. Does win 10 not recognize jEdit as a "safe installer" or
      something - I don't know what changed.

      I've tried every setting/method I can think of - is there a bug in the
      installer, or is there some special proceedure for installing on Win 10 or
      something that I don't know about?


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/jedit/bugs/3951/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #3951

  • Alan Ezust

    Alan Ezust - 2016-03-28
    • status: open --> closed-works-for-me
     
  • Alan Ezust

    Alan Ezust - 2016-03-28

    The 5.3.0 java installer was rebuilt and some bugs may have been fixed since its initial release.

     

Log in to post a comment.