Install Oracle JDK on OpenSUSE

Due to licensing issues, OpenSUSE comes with OpenJDK. I personally prefer using Oracle’s JDK. It’s worth mentioning that OpenJDK will not work in some cases such as building Android source code and it’s not recommended for Android development.

Here is how to install and setup Oracle JDK on OpenSUSE.

1. Download the JDK from Oracle’s site. I use 64-bit OpenSUSE so i downloaded the ‘Linux x64‘ version rpm. For 32 bit systems download the ‘i586′ version of the package.

2. Install the JDK by opening a terminal, becoming root and switching to the directory where you downloaded the RPM package.

For x64 version execute:

rpm -i jdk-8u5-linux-x64.rpm

For 32-bit version execute:

rpm -i jdk-8u11-linux-i586.rpm

3. Make the OracleJDK default system JDK.

While at the terminal and with root privileges execute the following sequence of commands:

update-alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_05/bin/java 1551
update-alternatives --install /usr/bin/javadoc javadoc /usr/java/jdk1.8.0_05/bin/javadoc 1551
update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.8.0_05/bin/jar 1551
update-alternatives --install /usr/bin/javap javap /usr/java/jdk1.8.0_05/bin/javap 1551
update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.8.0_05/bin/javac 1551
update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.8.0_05/bin/javaws 1551
update-alternatives --install /usr/bin/javah javah /usr/java/jdk1.8.0_05/bin/javah 1551
update-alternatives --install /usr/bin/jarsigner jarsigner /usr/java/jdk1.8.0_05/bin/jarsigner 1551

4. Define JAVA_HOME environment variable.

Type ‘exit‘ at the terminal to become your normal everyday user again. Open .bashrc in your favorite command line text editor and the following:

export JAVA_HOME=/usr/java/jdk1.8.0_05

Save the file and exit from the editor. Type:

source .bashrc

5. Verify Java version by typing ‘java -version‘ it should says “java version “1.8.0_05″“. If that’s the case you have OracleJDK correctly installed.

Posted in Android, Java, Mobile, OpenSuSE | Tagged , , , , , , , , , , | 1 Comment

Eclipse (ADT) hang on ‘Building workspace’ at start up.

Try killing any ‘adb’ processes running and start Eclipse again.

killall -s SIGTERM adb
Posted in Android, GNU/Linux, Java, Software Development | Tagged , , , | Leave a comment

Ramblings

I’m 28 years old and a total wreck.Today I was diagnosed with back and neck problems that may make me disabled if no action is taken on time. I’m starting an addiction to alcohol and I’m a heavy smoker.

My place in this world is nowhere to be seen.  Why I’m living. To go to work and then go home tired as fuck. I want to travel and be free. Not chained to a desk for all my life taking orders from someone supressing my own creativity.

I’m working on my own app business and I hope that someday I will live to see it and gather the benefits from it.

Until that day I will never stop dreaming abot the freedom of my mind and that idea about traveling around the great wide world.

Its hard to stay alive in todays wordld. Exceptionally hard for a dreamer like me. Sometimes I just wanna lay down and never wake up again.

Posted in Emotions | Leave a comment

I should change my profession

or my current job.

Stending on the beach again, looking at the endless sea and I think that maybe my time in this company has come to an end. 2 years and 5 months and the excitement and promises long gone. What am I doing here? It’s time for a change.

I was promised to work on low level and core system projects but all I do is accounting borderos and coding currency transfers.

Posted in Emotions | Leave a comment

It’s interesting how the dark weather gives me peace of mind

I’m almost burn’d out.

With back pain, hands pain, eyes and noise in the ears. I cant think logical most of the times, which for a software developer is a must.

Sometimes I catch myself just looking at the monitor.

Today the weather is bad and this somehow brings me inner peace of mind. I’m at the beach and no one is around. Relaxing my eyes looking at the stormy sea, thinking that some day “I will fly away

image

Posted in Emotions | Tagged , , , , | Leave a comment

GoClever GC-4366FMBT firmware

After a long time of collecting dust I decided that I should resurrect my broken GPS navigation – GoClever GC-4366FMBT.

goclever_4366_fmbt_tmc_bBy resurrecting I mean removing GeoShell and the cracked Garmin using PortSplitter because of who my original Mireo GPS navigation wasn’t working. It was crashing on the “Attaching GPS…” message while loading.

Trying various methods to fix the problem all unsuccessful I finally decided that I should re-install the firmware of the GPS. After searching “past the first page of Google” (it was hell of a search and the trial and error method ) I finally found a suitable firmware for GoClever-GC4366FMBT, Mireo Black Edition 3.1 and the newest maps for Bulgaria, Romania, Greece, Macedonia and Serbia. Now the GPS is working again :)

Here is how to re-install the firmware of the device (links for firmware download included) and how to setup the navigation software.

Firmware installation

1.Download GoClever-GC-4366FMBT-Firmware.zip and extract it.
2.Copy the contents of the archive on an SD card and insert the card in the GPS
3.Turn on the device. The device will boot and will start to update the firmware

20131105_2202584. After a few minutes you will be ready. The default language of the device after the update will be Polish. Change it to your preference by navigating to the settings icon and than to the language icon.

Don’t forget to delete the firmware files from the SD card or next time you turn on the GPS the process will start again.

Mireo viaGPS v3.1 installation

After firmware installation the device will loose it’s GPS software ( it will do if you like me don’t do a backup of the ‘MobileNavigator’ folder from the ‘Resident Flash’ )

Download Mireo viaGPS Black Edition v3.1 (detailed map of Bulgaria included) extract the archive and rename the extracted folder ‘MobileNavigator’. Copy ‘MobileNavigator’ to your resident flash or SD card. Start the device and select Navigate. That’s it. You have a working GPS navigation with updated stock software and maps.

Here is an archive with detailed maps of Bulgaria, Greece, Romania, Macedonia and Serbia as of 2012-06. If you look hard enough you will find complete map of Europe dating 2012-06.

NOTE: The license for the 3D MAPS in the archive a bough is not working 

Posted in Geek Stuff, Software, Windows | Tagged , , , , , , | Leave a comment

My mind about having a tablet recently changed

I was skeptical about having a tablet, finding no use of the device at all, but due to my recent involvement with my gift – Samsung Galaxy S3  i got fascinated with the development opportunities android based devices offer. As a software developer this side of things is more interesting.

Now on the topic. Having some ideas for apps I was looking for a debug console and device  beside my phone to test the apps on. So after quick research i decided that 100 euro tablet would do the trick. I was also looking into the even cheaper tablets but they felt laggy while in use.

The device I brought is Privileg MID-7A tablet.

image

Cheap 7″ tablet with 1GB of ram, 8GB of internal storage, 1.2 Ghz processor, resolution of 1024×600 and WiFi. Also front and back cameras. The touch screen is good. The OS is Android 4.0.3.  Perfect for debugging and testing apps.

Here are the device specs on Bulgarian.

While doing the job of a development tool I slowly started using the tablet for different things like watching a movie in bed. Browsing the net and playing games. I also blog from the device while on the road. Its usefully for the times when you don’t want to carry a laptop around or having some time to kill. The tablet in combination with my S3 is my new mobile setup. I share the net from the phone.

I am considering the idea to buy a case with a keyboard.

In conclusion. I like having a tablet around. I really like it. When I have some free time I will root the device and install Android 4.2 on it.

Nice little thing  :) I’m writing this post from it.

Posted in Apps Review, Fun, Geek Stuff, Java, Mobile, Software, Software Development | Tagged , , , , , , , , , | Leave a comment

There was on a July morning in June

I got a great person by my shoulder. Person who believes in me and loves me.  Thank you babe

Posted in Emotions | 1 Comment

Survivor – I Can’t Hold Back

For the person I want to spend more time with…

There’s a story in my eyes
Turn the pages of desire
Now it’s time to trade those dreams
For the rush of passion’s fire
I can feel you tremble when we touch
And I feel the hand of fate
Reaching out to both of us
I’ve been holding back the night
I’ve been searching for a clue from you
I’m gonna try with all my might
To make this story line come true
Can ya feel me tremble when we touch
Can ya feel the hand of fate
Reaching out to both of us
This love affair can’t wait

I can’t hold back, I’m on the edge
(I can’t hold back)
You voice explodes inside my head
I can’t hold back, I won’t back down
Girl it’s too late to turn back now*

Another shooting star goes by
And in the night the silence speaks to you and I
And now the time has come at last
Don’t let the moment run too fast
I can feel you tremble when we touch
And i feel the hand of fate reaching out to both of us
There’s a story in my eyes, turn the pages of desire
Now it’s time to trade those dreams
For the rush of passion’s fire

Posted in Emotions | 1 Comment

Dear spammers from DonEkoService Ltd

Dear spammers from DonEkoService Ltd for your ease of use I kindly added

deny from 91.201.64.
deny from 91.201.65.
deny from 91.201.66.
deny from 91.201.67.

in my htaccess file. Please drop me a note if you have problems accessing this site :)

Posted in Geek Stuff | Tagged , , , | Leave a comment