The Quest for A Good IDE for Python Coding on Linux

In order to write code or learn programming or coding in Python, a good IDE was needed to take out the pain from looking up functions, keywords and more. The short list below were tried out before finally choosing one that best suited the purpose. Geany Eclipse PyCharm Spyder vscode Whilst it made sense to … Continue reading The Quest for A Good IDE for Python Coding on Linux

How to fix Eclipse Tab Size, Spacing between menu options and more in Xubuntu 16.04 LTS

Using Numix as the theme on Xubuntu 16.04 LTS, we find that Eclipse IDE toolbars, fonts, menus have excessive spaces between them. They look too big and take away screen real estate forcing you to scroll more. If you change the Settings -> Appearance to Greybird and Settings -> Window Manager to Daloa or something … Continue reading How to fix Eclipse Tab Size, Spacing between menu options and more in Xubuntu 16.04 LTS

Error building Java Program in Eclipse Mars after changing Java version

Right Click on the Project in the Package Explorer. Select Build Path -> Configure Build Path -> Libraries. Now remove JRE System Library 1.7 and add the one for java-8-oracle by clicking on Add Library -> JRE System Library -> Click Execution Environment and set that to JavaSE-1.8 (java-8-oracle). Click Finish. This resolves the error … Continue reading Error building Java Program in Eclipse Mars after changing Java version

Where to place a text file for use with a Java project in Eclipse

I placed a text file myapp.txt in the folder ~/workspace/PayrollApp/src/org/username/payrollapp. However, it was not opening in the Java program. To make it work correctly, I had to do use the following path in the Java program when opening the file: src/org/username/payrollapp/pay.txt Code as follows: try { FileReader fr = new FileReader("src/org/username/payrollapp/pay.txt"); BufferedReader br = new … Continue reading Where to place a text file for use with a Java project in Eclipse

Where to place SQLite 3 database for use in a Java Project in Eclipse

My Eclipse Java project path is as follows: ~/workspace/PayrollApp/src/org/username/payrollapp/payroll.db I had placed the SQLite database file payroll.db in the above path, and found it was not getting used when I ran the Java program. Upon inspecting the contents of ~/workspace/PayrollApp, I found that payroll.db was there with 0 bytes. That implied that the file needs … Continue reading Where to place SQLite 3 database for use in a Java Project in Eclipse

Window Builder Pro hangs in Eclipse Luna on Ubuntu 14.04 LTS

If you use Eclipse IDE for Java development, you will find that there is a great GUI builder from Google, and it worked very well on previous releases of Ubuntu. Unfortunately, Eclipse just freezes when you use Windows Builder on 64 bit Ubuntu 14.04 LTS. Several posts on the Internet suggest installing Oracle Java 7 … Continue reading Window Builder Pro hangs in Eclipse Luna on Ubuntu 14.04 LTS

Android Development in Eclipse on Ubuntu 64 bit install error

When installing android development toolkit in Eclipse, you get following error: adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Fix above error is by installing the packages below $ sudo apt-get install lib32ncurses5 lib32stdc++6 lib32z1 lib32z1-dev <enter> Start eclipse and it should work now.

Use Windows Builder from Google to create GUIs in Java quickly

If you use Eclipse to create Java programs, you would know that there are several plugins that enable Eclipse to do magic. However, the Google Windows Builder plugin available from the eclipse market place, almost proves it can make "coffee". Using Windows Builder, you can create GUI windows using Swing, SWT or XWT in minutes. … Continue reading Use Windows Builder from Google to create GUIs in Java quickly