Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to run 'hello world" py file, So I installed Eclipse and I cant seem to get the py file I select to run. jdk 7 crashed with a SIGBUS error.

share|improve this question
up vote 0 down vote accepted

In Eclipse goto Help->install new software(popup window will open)->add(popup window will open)->Name(enter 'Pydev' in 'name' box)->Location(enter click 'ok'.

In the below box 'select all' -> 'next', accept the terms and conditions and finish.

Eclipse will Install software and ask for certificate confirmation, select and 'OK'

Restart Eclipse and create a project, eclipse will 'auto config' Auto Config

That's it.

You are ready to go.!

(I do not have enough reputation to post images, so pasted Links instead)

share|improve this answer
Actually I have done that already but the im sure the issue is with java. – lightning Mar 1 '13 at 3:45
# # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0xb7754968, pid=2985, tid=3075872448 # # JRE version: 7.0_15-b20 # Java VM: OpenJDK Client VM (23.7-b01 mixed mode, sharing linux-x86 ) # Problematic frame: # C [] _dl_rtld_di_serinfo+0x2e48 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again – lightning Mar 1 '13 at 3:45
Are you using 32bit or 64bit Linux? #Looks like you are trying to run 64bit on his 32 bit linux. – ItsZaif Mar 1 '13 at 14:59
Im running 32 bit. I have removed eclipse and will defer to another editor – lightning Mar 1 '13 at 16:36
You need to install Sun Java first I think (not entirely sure), unpack it to your /home/{java_folder} somewhere then use update-alternatives --install /usr/bin/java java /home/{java_folder}/bin/java 10 best try with java6 first, you can always set different alternatives later (man update alternatives) – catalesia Mar 1 '13 at 16:51

Further you need to go to Eclipse, make is recognise the Python Interpreter. i.e Eclipse- Preferences- find Pydev, expand it---and find Python interpreter, click on it. In the right pane, under Python Interpreters --click New, Give a name for your interpreter, then browse to give the directory containing the Python.exe (Windows: Program Files- Python--Python.exe), then confirm for the libraries , then apply. Then click Window menu in Eclipse, Open Perspectives,--other..--select Pydev and ok. Then you now create a new Pydev project(File menu), then a new pyDev module as ypur .py script

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.