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.

Hi
This should get it going :slight_smile:


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

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.”

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.

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.

Hi
That is strange. Did you check the file via md5sum after the download?


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

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.

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

Hi
Md5sum is a verification of the file integrity, but see they don’t seem
to publish one. Can you try the following then;


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

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

Sounds like I screwed up by installing KDE 4. I think I will just start over from scratch. Only problem is I have to yank the DVD player out of my other computer and attach it to this one long enough to complete the install. Also I will read the documentation you suggested.

Shouldn’t KDE support drag-and-drop? It’s hard for me to imagine a GUI in this day and age that wouldn’t. I think something is pretty screwed up here because when I click on the Eclipse executable I also get the "open with … " dialog.

At any rate, I will probably be back with more questions after I have time to rebuild this box and read the documents you mentioned.

Thanks again for taking the time to offer your insight.

Johnny

JBMeek wrote:
> Sounds like I screwed up by installing KDE 4. I think I will just start
> over from scratch.

even with the Eclipse executable “problem” i’m not at all sure that
you really HAVE to start over…

for sure, READ the basic concepts before you do…i say that because
we here don’t make it a habit to just click an executable and expect
nirvana…

ok, i know you are gonna think that that is not user-friendly…

actually, it is user friendly BECAUSE…well, just because not doing
that keeps strange crud (and malware and viruses and and and) out of
your machine…

for now just take my word for it…you will see all as you learn the
SAFE way to get things installed…

please, NEVER log into the SUSE (or any other linux) desktop
environment (KDE, Gnome, other) as root to try to get some important
stuff done…it is a trap…see: http://tinyurl.com/6ry6yd

it is relatively easy to load KDE3.5.9…hmmmm, well, i ought to
tell you to use the web forums search function and find the way…and
you SHOULD check that this is right, but it is close to:

AFTER READING basic concepts…

open YaST [provide root pass when asked]
go

-> Software (on the left)

-> Software Management (on the right, wait a bit)

-> spin the “Filter” to “Patterns” (upper left)

-> in the list that opens, under 2Graphical Environments" pick these

  • KDE Desktop Environment
  • KDE Base system

[NOTE: it may say KDE3 Desktop, etc…i don’t know what it says in
v 11.0 because i’m still in v 10.3]

[NOTE2: for now, take my advice and don’t go clicking to add a lot of
stuff]

→ click “Accept” (lower right…and BE patient…do not interrupt
its ‘thinking’)

→ when done, like usual you do NOT have to reboot (that is a
“Windows[tm] thing”, this software is built on the foundation of IBM
Mainframe computers which run and run and run, WHILE you
add/replace/update software…there are some exception of course,
like to replace a kernel you have to shutdown)…

THEN to get to your new KDE3 you just need to get to the sign in screen:

-> right click on desktop, select “Log out [user]”

→ in new popup select “End Current Session”…it will whir and blink
then give you a green sign in screen…see that “root” user, that
is the one i say NEVER use, NEVER…

-> to get to KDE3 look down in the left corner and click on
“Session”, it will have your last used session (KDE4) noted as
default, just click on KDE3 and

→ sign in…soon you will be to a desktop which looks KINDA
familiar, but it is not Windows[tm]…imo, it is better…i think
with time you will share my opinion…

> Shouldn’t KDE support drag-and-drop?

yes, of course…KDE4.0 however has LOTS of not-yet-working
stuff…for now, FORGET everything you ‘learned’ there…for
example, if you updated it to KDE4.1 you would already have to re-learn…

> At any rate, I will probably be back with more questions after I have
> time to rebuild this box and read the documents you mentioned.

we all here LOVE to help folks through the trials and
frustrations…welcome


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