Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How do I execute a binary file?

  1. #1
    JBMeek NNTP User

    Question How do I execute a binary file?

    Ok, complete newb here. I just downloaded the Java EE SDK. It has a file extension of .bin and I don't know what to do with it. Filename is java_ee_sdk-5_05-linux.bin. When I click on the file icon, I get an "Open with ... " dialog.

    Thanks for the help.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: How do I execute a binary file?

    Quote Originally Posted by JBMeek
    Ok, complete newb here. I just downloaded the Java EE SDK. It has a
    file extension of .bin and I don't know what to do with it. Filename is
    java_ee_sdk-5_05-linux.bin. When I click on the file icon, I get an
    "Open with ... " dialog.

    Thanks for the help.
    Hi
    This should get it going

    Code:
    sh java_ee_sdk-5_05-linux.bin
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 1 day 11:49, 3 users, load average: 0.04, 0.06, 0.06
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  3. #3
    JBMeek NNTP User

    Default Re: How do I execute a binary file?

    Thank you for the response.
    That seems to be headed in the right direction, except that I get an error message "cannot execute binary file."

  4. #4
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: How do I execute a binary file?

    Did you try installing JAVA from yast? When I started on SUSE, I couldn't get the idea of package management. You can probably find 'java' from inside yast. It will automatically download, install, and configure it for you.
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  5. #5
    JBMeek NNTP User

    Default Re: How do I execute a binary file?

    I was able to locate the Standard Edition JAVA 6 SDK using Yast. I am downloading and installing it now. I really need to get the Enterprise Edition SDK, but at least this will get me started. Thanks for your help.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: How do I execute a binary file?

    Quote Originally Posted by JBMeek
    Thank you for the response.
    That seems to be headed in the right direction, except that I get an
    error message "cannot execute binary file."
    Hi
    That is strange. Did you check the file via md5sum after the download?

    Code:
    md5sum <name_of_file>
    It should output a long hexadecimal number, this should be the same as
    what's on the Sun website.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 1 day 14:51, 2 users, load average: 0.12, 0.14, 0.10
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  7. #7
    JBMeek NNTP User

    Default Re: How do I execute a binary file?

    Please understand that I know almost nothing about Linux. Unfortunately, my computer science professor / department head is a big fan of open-source so now I have the dubious privilege of learning a new OS along with my regular studies.

    I am running openSUSE 11.0 with KDE and I performed a standard install using the 4 GB iso download. I downloaded the java EE file using the Sun download manager. I am not familiar with md5Sum. I could certainly try downloading the file again if necessary.

    Btw, I also dragged a shortcut to this website to my desktop (from Firefox) and when I click the shortcut I get an "open with ..." dialog box as well. I can select Firefox to open the shortcut but there's no option to set the file association. I also tried dropping the shortcut in a Firefox window and that doesn't work either. Is this typical of KDE? It doesn't seem to be a very user-friendly GUI from what I've seen thus far.

    Thanks again for your assistance.

  8. #8

    Default Re: How do I execute a binary file?

    Using Konqueror make sure the file is executable by right clicking on the file and choosing properties.

    Next in a terminal cd to directory the file is in

    then ./"filename"

    that should do it

    Dave

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: How do I execute a binary file?

    Quote Originally Posted by JBMeek
    Please understand that I know almost nothing about Linux.
    Unfortunately, my computer science professor / department head is a big
    fan of open-source so now I have the dubious privilege of learning a new
    OS along with my regular studies.

    I am running openSUSE 11.0 with KDE and I performed a standard install
    using the 4 GB iso download. I downloaded the java EE file using the
    Sun download manager. I am not familiar with md5Sum. I could certainly
    try downloading the file again if necessary.

    Btw, I also dragged a shortcut to this website to my desktop (from
    Firefox) and when I click the shortcut I get an "open with ..." dialog
    box as well. I can select Firefox to open the shortcut but there's no
    option to set the file association. I also tried dropping the shortcut
    in a Firefox window and that doesn't work either. Is this typical of
    KDE? It doesn't seem to be a very user-friendly GUI from what I've seen
    thus far.

    Thanks again for your assistance.
    Hi
    Md5sum is a verification of the file integrity, but see they don't seem
    to publish one. Can you try the following then;

    Code:
    chmod +x java_ee_sdk-5_05-linux.bin
    ../java_ee_sdk-5_05-linux.bin
    Else, see here
    SDK Update
    5 Installation Instructions


    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 1 day 15:32, 2 users, load average: 0.20, 0.42, 0.38
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How do I execute a binary file?

    FIRST: welcome to software freedom....eventually you will love it,
    but there is a pretty big 'learning curve' in front of you...


    JBMeek wrote:
    > Is this typical of KDE?


    yes, it offers _several ways_ of accomplishing almost any task..

    however, i am afraid you might have accidentally installed KDE4,
    which is EXPERIMENTAL software and not YET ready for use...

    if running KDE4 i highly recommend you begin again, and start here:

    If new to Linux please read this: http://tinyurl.com/5hkyeh

    that article includes links to several others....all are good and you
    should read them ALL (do NOT skip the openSUSE concepts guide, EVEN
    if it puts you to sleep, because a lot of the questions you begin
    with are laid to rest there)..

    but, you need to soon focus on "NEWBIES - Suse-11.0 Pre-installation
    – PLEASE READ" at http://tinyurl.com/3vwrzl, and especially on it's
    paragraphs 2, 3 and 6 (where you learn about md5sum and how to use
    it) and para 7 which advises you skip installing KDE4, and opt
    instead for KDE3.5.9

    [NOTE: you do NOT have to reinstall openSUSE Linux to get KDE3.5.9,
    you can add that to your bag of tricks and use it]

    AND, do not miss the fact that that 8 paragraph PRE-installation
    article is followed by lots of REALLY good info that you need sooner
    or later...the user/moderator "oldcpu" has done a REALLY good job there..

    you will save yourself a LOT of time if you read every paragraph,
    carefully.


    > It doesn't seem to be a very user-friendly GUI from what I've
    > seen thus far.


    hmmmm, so KDE probably does not behave exactly as what you are used
    to using (Windows[tm], Mac, other? you didn't say)...and, you equate
    "user-friendly" with what you have grown to expect....right?

    here is a good article to help you along as you get frustrated with
    Linux (you will, probably), and BEFORE you give up and go back to the
    more familiar, read "Linux is Not Windows" http://tinyurl.com/8b9s6

    the concepts and frustrations you face are the same no matter if you
    _are_ a former Windows[tm] *OR* Mac *OR* Amiga user, etc..

    again, welcome..

    oh, there _must_ be a way to drag and later use a URL 'shortcut', but
    i don't know how as i prefer to not have a bunch of stuff on the
    desktop (and so instead right click and select bookmark) but, never
    fear...in Linux there is always several ways to do most
    anything...someone who can help you with that will wander along
    shortly....if not ask...until then, i suggest you BOOKMARK:

    - If new to Linux
    - openSUSE concepts guide
    - Pre-installation – PLEASE READ
    - Linux is Not Windows


    --
    see caveat: http://tinyurl.com/6aagco
    DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE
    3.5.7, SUSE Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon

Page 1 of 2 12 LastLast

Posting Permissions

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