String driverPath = viewerBundle.getLocation( ).substring( 7 )
String viewerLocation = null; try { URL url = Platform.asLocalURL( viewerBundle.getEntry( "/" ) ); try { URI uri = new URI( url.toString( ) ); viewerLocation = uri.getPath( ); } catch ( URISyntaxException e ) { viewerLocation = url.getFile( ); } } catch ( Exception e ) { viewerLocation = viewerBundle.getLocation( ).substring( 7 ); } String driverPath = viewerLocation
	private File getViewerDriverLocation( )	{		//get the driver path under viewer plug-in.		Bundle viewerBundle = Platform.getBundle( "org.eclipse.birt.report.viewer" ); //$NON-NLS-1$		if ( viewerBundle != null )		{			ResourceBundle resBundle = Platform.getResourceBundle( JdbcPlugin.getDefault( )					.getBundle( ) );			if ( resBundle != null )			{				String driverPath = viewerBundle.getLocation( ).substring( 7 )						+ resBundle.getString( VIEWER_DRIVER_PATH_KEY );				return new File( driverPath );			}		}		return null;	}