FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    yinglcs Guest

    tail: cannot open `+368' for reading: No such file or directory

    I am trying to install a Java software package on Fedora 6, but it fails with 'tail: cannot open `+368' for reading: No such file or directory' Can you please tell me how to fix it?

    $ ./jwsdp-2_0-unix.sh

    For help, type './jwsdp-2_0-unix.sh -help'

    Using /var/tmp as temporary directory...
    Searching for Java(TM) 2 Platform, Standard Edition...
    tail: cannot open `+368' for reading: No such file or directory
    Initializing InstallShield Wizard...
    Exception in thread "main" java.lang.NoClassDefFoundError: JWSDP

  2. #2
    Join Date
    May 2005
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2re 1.4.1 and tail: cannot open `+346' for reading: No such file or directory

    I'm having a similar problem. Did you ever figure it out?

  3. #3
    Join Date
    Apr 2005
    Location
    Finland
    Posts
    5,073
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The script probably uses the old syntax for the "tail" command. Set the environment variable _POSIX2_VERSION=199209 to use the compatibility mode by:
    Code:
    $ export _POSIX2_VERSION=199209
    $ ./jwsdp-2_0-unix.sh

  4. #4
    Join Date
    May 2005
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works!!!!! Thanks for your help

  5. #5
    Join Date
    Sep 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Re: tail: cannot open `+368' for reading: No such file or directory

    In Fedora 15, and possibly previous versions that ship with OpenJDK 6 (reported to have been introduced in Fedora 9), setting the _POSIX2_VERSION environment variable is not enough anymore.

    After setting _POSIX2_VERSION=199209 the following error appears.
    Code:
    The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)
    Running the jwsdp install script as shown below will print the error cause.
    Code:
    sh jwsdp-2_0-unix.sh -is:debug 1
    In my case the output is:
    Code:
    com.jxml.quick.QPE; lineNumber: 0; columnNumber: 0; java.lang.ClassNotFoundException: sun.beans.editors.BoolEditor
    followed by a stack trace.

    In my computer, the install script is detecting and using OpenJDK 6 to run the JWSDP installer. Unfortunately it seems to rely on this sun.beans.editors.BoolEditor class which is not part of the Java API. The rt.jar shipped with OpenJDK 6 includes sun.beans.editors.BooleanEditor but not BoolEditor.

    My solution was to tell the installer to use Sun JDK 5 to run the JWSDP installer, as follows.
    Code:
    sh jwsdp-2_0-unix.sh -is:javahome /etc/alternatives/jre_1.5.0
    If needed, replace /etc/alternatives/jre_1.5.0 with your Sun JDK 5 home directory.

Similar Threads

  1. Replies: 5
    Last Post: 20th November 2007, 08:01 PM
  2. Replies: 2
    Last Post: 20th March 2006, 12:38 PM
  3. Replies: 4
    Last Post: 2nd September 2005, 06:03 AM
  4. Replies: 0
    Last Post: 28th September 2004, 08:03 PM
  5. Cannot open mouse (No such File or Directory)
    By snjbrian in forum Hardware
    Replies: 2
    Last Post: 16th June 2004, 01:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •