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 . . . → Read More: 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 . . . → Read More: Error building Java Program in Eclipse Mars after changing Java version

Error when creating Android Project in Eclipse IDE

android-sdks/build-tools/17.0.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

To fix the above error, open a terminal window and install: $ sudo apt-get install lib32z1 <enter>

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 . . . → Read More: 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 . . . → Read More: 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 . . . → Read More: 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.

. . . → Read More: Android Development in Eclipse on Ubuntu 64 bit install error

Agile Programming in Eclipse tutorial for beginners

Good way for beginners to learn test driven programming in Eclipse for Java. See the tutorials here http://eclipsetutorial.sourceforge.net/totalbeginner.html.

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. . . . → Read More: Use Windows Builder from Google to create GUIs in Java quickly

Eclipse IDE and Python Development

Python is very easy to learn. However, for newbies, you need a code editor that allows you to view code completion. Code completion helps to develop and learn a new computer language rapidly and that is why, Eclipse is one of the most popular Integrated Development Environments (IDE) out there.

To develop programs using Python . . . → Read More: Eclipse IDE and Python Development

March 2019
M T W T F S S
« Feb    
 123
45678910
11121314151617
18192021222324
25262728293031