Wednesday, September 9, 2015

Useful Java VM options

Display possible java options: java -X

Display java default values: java -XX:+PrintFlagsFinal -version

Tuesday, September 9, 2014

maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.

  1. Download this file and save it somewhere on your disk.
  2. In Eclipse/Preferences/Maven/Lifecycle Mappings dialog, click the Browse button and select the file you just saved.
  3. While focusing on your project. (i.e. Clicking it), press Alt+F5. This will refresh your project in Eclipse.
This error should be ignored now.

Sunday, September 7, 2014

Things to do after installing M2E (Maven integration) on Eclipse

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:
This is to add numerous archetypes in Maven's catalog so you would be able to create a project based on any of these archetypes.

Thursday, May 29, 2014

AMD Catalyst™ Driver 14.6 BETA has been released for selected products

AMD Catalyst™ Driver 14.6 BETA has been released for Windows® & Linux®.

What's new?:
    • Performance improvements
    • AMD Eyefinity enhancements
    • AMD Mantle enhancements
    • Ubuntu 14.04 support
    • Install improvements
    • Package & distribution generation options

Windows 8.0 users should upgrade to Windows 8.1 to take advantage of the new features found in the AMD Catalyst 14.6 Beta.

AMD Catalyst™ driver 14.6 BETA is for AMD Radeon™ HD 5000 Series Graphics products or higher.

For windows users: Link
For Linux users: Link

Tuesday, May 27, 2014

JDO error: Specified enum getter-by-value for field...

Specified enum getter-by-value for field ... gave an error on extracting the enum so just using the ordinal : null

This is a very vague message that could occur due to a very common mistake. Which is writing your enum getter-by-value or value-getter methods to accept or return numbers that aren't of the type "short"

I don't know if there is a way to bypass this restriction.

Monday, April 7, 2014

Install AMD Catalyst 13.12 Driver with patch on Ubuntu 13.10

This is a copy-paste post from this one only for my personal reference and just in case the original post is gone for any reason.

  • Download
  • Extract it and you will get
  • chmod +x
  • ./ --extract catalyst
  • cd catalyst
  • Apply the patch manualy:
at the end of the file catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c, starting with line 990, there is
    if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
    tbl_size = 0x7fffffff;
    if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
delete everything to the end of the file and replace with this
    if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
    tbl_size = 0x7fffffff;
    if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
        return KCL_ACPI_ERROR;
    return KCL_ACPI_OK;
  • sudo ./ 13.251 --buildpkg Ubuntu/saucy
  • Change owner and group (from root to your user) for generated .deb files placed one directory up (sudo chown fglrx* and sudo chgrp fglrx*), and install them all via Software Center (or from command line as root).
To open amdcccle, run this sudo /usr/lib/fglrx/bin/amdcccle