#114 nixnote not working in Ubuntu 12.04

v1.0 (example)
closed-accepted
5
2012-08-21
2012-08-19
Shubhmay
No

Whenever I'm trying to open the Nixnote,it is throwing an exception in the main().

Discussion

  • Shubhmay
    Shubhmay
    2012-08-19

    The file contains the stack trace of the exception

     
    Attachments
  • How did you install it? Are you running a 32 or 64 bit Java? The error looks like you are running a 64 bit Java, but you've installed a 32 bit NixNote.

     
  • Shubhmay
    Shubhmay
    2012-08-20

    I've installed the nixnote-1.2_amd64.deb package downloaded from sourceforge.net.
    But when that does'nt work, i have added the nixnote ppa for Ubuntu 12.04 ppa:vincent-c/nevernote and installed it.
    I'm running java version "1.7.0_06"
    Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
    Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)

     
  • First, make sure that /tmp is not mounted with noexec. I don't think that is your problem, but the permission error messages make it a possibility.

    If that doesn't fix the problem (and I don't think it will), try editing /usr/share/nixnote/nixnote.sh Remove these two lines toward the bottom:

    NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-4.5.2_01.jar
    NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-gcc-4.5.2_01.jar

    Then try to start NixNote. If it works, then you have somehow installed both the 32 and 64 bit libraries. You want to find those 32 bit libraries and remove them or the next time you upgrade you'll have the same problem.

     
  • Shubhmay
    Shubhmay
    2012-08-20

    This file contains the stacktrace of new Exception

     
    Attachments
  • Shubhmay
    Shubhmay
    2012-08-20

    This is the modified version of nixnote.sh

     
    Attachments
  • Shubhmay
    Shubhmay
    2012-08-20

    The $NIXNOTE/lib was having both 32 and 64 bits jars of qtjambi-linux32-4.5.2_01.jar and qtjambi-linux32-gcc-4.5.2_01.jar.I had deleted the 32 bits jar.Even further $NIXNOTE/nixnote.sh has ben edited and the lines NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-4.5.2_01.jar and NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-gcc-4.5.2_01.jar are commented,still it throws an exception.I have attached stack trace of new exception as well as nixnote.sh file.

     
  • Did you check that the /tmp directory is not mounted with noexec? This error is different from the last ones, so I think you fixed the 32/64 bit problem. Now it looks like it is having troubles executing from /tmp.

     
  • Shubhmay
    Shubhmay
    2012-08-21

    NIxnote starts working after mounting /tmp with exec

     
  • Shubhmay
    Shubhmay
    2012-08-21

    NIxnote starts working after mounting /tmp with exec

     
  • Shubhmay
    Shubhmay
    2012-08-21

    • milestone: --> v1.0 (example)
    • assigned_to: nobody --> baumgarr
    • status: open --> closed-accepted