[program-l] Re: question about java

  • From: Roger Woolgrove <rawoolgrove@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Sun, 10 Sep 2017 23:01:55 +0100

JAB will be in their version of JDK which they will need to access the software if they use Jaws or NVDA.
JAB is a part of Java and not a part of your personal code.

Roger

On 10/09/2017 22:45, Abanob Adel wrote:

thank you all the problem was in the windows 32 file that should be copied to folder c windows32 sys64 the names aren't correct but it gives the meaning
the question now that if i send a compiled program to friend or publish it to the blind they should install jab or it will be in the compiled file

2017-09-10 12:31 GMT-07:00 Chris Mullins <cjmullins29@xxxxxxxxx <mailto:cjmullins29@xxxxxxxxx>>:

    Hi

    I don’t know if the below is relevant to your difficulties but it
    has been a common problem for a few years.  If you check your NVDA
    log file and find a message about Java access bridge (it’s usually
    found just before the ‘NVDA is initialized’ message) this is
    symptomatic of the JAB 32-bit dll not being in the right place, so
    read on.

    For 64-bit Windows machines, you should install both the 64 and
    32-bit versions of the Java Runtime Environment (JRE), for 32-bit
    Windows machines, only the 32-bit JRE is required.  Note: if you
    use the Java Development Kit (JDK), you do not need JRE as the
    relevant DLL's are included however, JAB dll-s stil need to be in
    the relevant folders, so please apply the rules below to get JAB
    to work with your screen reader. .

    The Java installers are notoriously bad at putting files
    associated with the Java Access Bridge (JAB) into the correct
    folders, particularly on 64-bit Windows systems and it is
    sometimes necessary to do the task manually.  Below are the
    details for putting JAB files into the correct folders on Windows
    systems.

    64-bit Windows

    1A. After installing both 64-bit and 32-bit JRE's, ensure the
    following dll files are in the folders shown and are dated the day
    you ran the respective JRE installation package:

    Windows\System32\WindowsAccessBridge-64.dll

    Windows\SysWow64\WindowsAccessBridge-32.dll

    2A. If either/both dll is missing or has the wrong date, you can
    find them in the following folders:

    Program Files\Java\jrex.x.x_y\WindowsAccessBridge-64.dll

    Program Files(X86)\Java\jrex.x.x_y\WindowsAccessBridge-32.dll

    Where x.x.x is the Java version number and y is the java update
    number.  You may copy missing dll's from these locations to those
    locations detailed in 1A above.

    32-bit Windows

    1B. After installing the 32-bit JRE, ensure the following dll file
    is in the folder shown and is dated the day you ran the JRE
    installation package:

    Windows\System32\WindowsAccessBridge-32.dll

    2B. If the dll is missing or has the wrong date, you can find it
    in the following folder:

    Program Files\Java\jrex.x.x_y\WindowsAccessBridge-32.dll

    Where x.x.x is the Java version number and y is the java update
    number.  You may copy the missing dll from this location to the
    location detailed in 1B above.

    Additional Note:

    I have had a situation where I could not do a manual copy of a dll
    due to there being an existing copy in the target folder,
    pre-dating the one I was wanting to copy, which was currently in
    use so unable to be replaced.  I quit my screen reader and used
    Narrator to complete the copy process.

    Cheers

    Chris

    *From:*program-l-bounce@xxxxxxxxxxxxx
    <mailto:program-l-bounce@xxxxxxxxxxxxx>
    [mailto:program-l-bounce@xxxxxxxxxxxxx
    <mailto:program-l-bounce@xxxxxxxxxxxxx>] *On Behalf Of *Abanob Adel
    *Sent:* 10 September 2017 18:32


    *To:* program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx>
    *Subject:* [program-l] Re: question about java

    hi again , did you read my last message in thich i said that i
    could unable the jab but didn't work , please help me on this
    problem , the programm works partly with the cerser but it was
    doing the same before unabling jab

    2017-09-10 8:05 GMT-07:00 Andy B. <sonfire11@xxxxxxxxx
    <mailto:sonfire11@xxxxxxxxx>>:

        SWT looks almost like old C/C++ code.

        *From:*program-l-bounce@xxxxxxxxxxxxx
        <mailto:program-l-bounce@xxxxxxxxxxxxx>
        [mailto:program-l-bounce@xxxxxxxxxxxxx
        <mailto:program-l-bounce@xxxxxxxxxxxxx>] *On Behalf Of *Roger
        Woolgrove
        *Sent:* Sunday, September 10, 2017 4:42 AM
        *To:* program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx>
        *Subject:* [program-l] Re: question about java

        JAB is a piece of software to make Java work with Jaws and NVDA.
        If you use either screen reader and Java then you must have it
        enabled or you will not be able to access the Java program.
        Making sure it is installed is good but you must make sure it
        is enabled.
        This is like installing something then turning it on.
        Swing and SWT are just different packages to create GUI.
        It depends which you prefer to use and that is it.
        Swing is made to be easier but for screen readers this is not
        true as it still needs a bit of extra coding to make things
        accessible.
        SWT is an older way to write GUI and might need more coding
        but is a bit more reliable and less complicated.
        That is my view of Swing and SWT.

        Roger

        On 10/09/2017 04:03, Abanob Adel wrote:

            hi again i read about jab and unable it but itdidn't work
            i found an article in the oracle website and followit by
            copying files and reinstulled the jdk because i found
            thatthere is't any public jre and install the jdk again
            whichinstalled the jre and it ddidn't work i'm using the
            eclips andthe code is the basic code for helloworld
            programm using guiwhich includes these two statements
            beside the class and main() deffinition
            import javac.swing.JOptionPane
            JOptionPane.showMessageDialog(null, "hello world");

            2017-09-09 15:24 GMT-07:00 Abanob Adel
            <abanob.adel1998@xxxxxxxxx
            <mailto:abanob.adel1998@xxxxxxxxx>>:

                thank you for helping

                what is Java Access Bridge

                i have windows 8.1 64 bit

                and please explain to me the difference between swt
                and swing i understand from messages that swing works
                with jaws but why it didn't work with me and why i'll
                need Java Access Bridge

                and what about swt it can work with screen readers?



Other related posts: