what is this file ?

I have a cisco IP Phone product. In one of the directory,
there are a lot of xxxx.bin files.

I think bin mean binary. I also believe it is one kind of
java executable file. How do I take a look or decompiled
those xxx.bin files ?
dynomite082002Asked:
Who is Participating?
 
girionisConnect With a Mentor Commented:
 If this fails... Can you send me a couple of the .bin files? girionis@yahoo.com
0
 
s_lavieCommented:
Why don't you contact Cisco?
0
 
dynomite082002Author Commented:
I just want to take a look of how certain thing work.
So, Cisco will not be able to tell me, it is their secret.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
s_lavieCommented:
I don't know of a java *.bin executable file. Look for *.class or *.jar files.
0
 
girionisCommented:
 On uUnix .bin files are executable and you execute them by just typing their name (win no extension). In cisco they muight mean soemthing else. Take a look at the documentation and see what's going on.

  Hope it helps.
0
 
googlyralphCommented:
All Java files have a signature, if you open the file with a HexEditor, and look at th first few bytes, if you see the word CAFEBABE, then you are looking at a java class file, if it is different then you are not (CAFEBABE is the signature defined (i think) in the binary file format of class files).

If the file is a java class file, then any decompiler will work.

GR.
0
 
dynomite082002Author Commented:
I will go to get the HexEditor.
0
 
googlyralphCommented:
In fact, if you have the sun JDK installed (not sure about the others), copy one of hte .bin files to a new directory, and then run (from a command prompt)

javap -c xxx.bin

(Where xxx.bin is the filename you are trying to dissasemble).

This is the JDK decompiler, it isnt great, but will tell you of the file is in an official file format.

GR.
0
 
girionisCommented:
 If the file does not have the .class extension then it is probably not a java bytecode file. Why are you not looking at the cisco documentation to see what kind of file it is?
0
 
dynomite082002Author Commented:
I have looked at the documentation, and it does not tell
what is .bin file.

I used hexeditor to view the .bin file, I did not see CAFEBABE.
0
 
girionisCommented:
 Are you on Unix/Linux? If you are try to do a ./<filename.bin> and tell us what happens. If it runs and produces an output it means that we are talking about unix executables.

  Hope it helps.
0
 
dynomite082002Author Commented:
girionis,

I have sent the bin to your yahoo.com acct.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.