UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 22365

7.1.2 EDK - SDK will not start on 32- and 64-bit linux OSs

Description

Keywords: SDK, sdk_xps, launch, linux, java, ioexception, lock, locks, runtime, eclipse

General Description: Attempting to launch SDK from the command line via 'xps_sdk' on an NFS-mounted drive fails with the message:

Caused by: java.io.IOException: An error occurred while locking file "/home/hoochie_mamma/EDK_SDK_workspace/.config/org.eclipse.core.runtime/.manager/.fileTableLock": "No locks available". A probable reason is that the file system or Runtime Environment does not support file locking. You may want to choose a different location, or disable file locking (using the osgi.locking property), but this can cause data corruption. at org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:42).

Solution

1

1. When xps_sdk starts up, it displays the complete launch command. Please copy this and append any additional vmargs. This can be written to a script and executed in subsequent launches.

For example:
-vmargs -Dorg.eclipse.core.runtime.ignoreLockFile

2

Create a $XILINX_EDK/eclipse/bin/lin/configuration/config.ini file and add the following line to it:

osgi.locking = java.io

Other options are:

osgi.locking = none
osgi.locking = java.nio

3

This problem has been fixed in the latest EDK 8.1i Service Pack available at:
<http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp>
The first service pack containing the fix is EDK 8.1i Service Pack 1.
AR# 22365
Date Created 11/10/2005
Last Updated 04/17/2007
Status Archive
Type General Article