Problems with Java or the Server

Error: can not find main class or can not find jvm.dll

This article applies to:

  • Platform(s): Windows 7, Vista, Windows XP, Windows 2000, Windows 2003
  • Java version(s): 6.0


During Java installation process error message dialog box displays

can not find main class


can not find jvm.dll


  1. Corrupt registry entries for Java
  2. Corrupt file for the Java


Please follow the steps below for resolving this issue.

  1. Remove any traces of the failed Java installation by uninstalling Java.
  2. Download and install the Java offline installer package.


Deployment Configuration File and Properties, - Error: Could not find the main class. Program will exit.


The server does not launch with Java JRE 7

Java JRE 7 and older are not supported by the server. Download "Remote PC Server Full with bundled JRE" or install Java JRE 8.

Error: JRE was not found

First JRE 7 is not supported. Install JRE 8.

JRE Not Found


  1. Go to the Control Panel
  2. Double-click on the icon Java Control Panel to open it
  3. Select "Java" tab
  4. Click on the View in Java Application Runtime Settings
  5. Appears a window with Java machines that you own on your computer and the folders where are installed. Change the path to Java JRE 8 (e.g "C:\Program Files (x86)\Java\jre8\bin\javaw.exe")

It should always be at least one entry and the active record is most recently installed JRE.


  1. Go to "C:\Users\USER\AppData\Roaming"
  2. Delete the folder Remote PC Server
  3. Run Remote PC Server app and the system will prompt you to specify the location of Java JRE
  4. Click Browse and choose Java JRE 8
  5. Confirm and if the server pops up the error, you will open the settings of the executable file and choose Properties -> Compatibility -> mark on Run as administrator and OK


Java Control Panel, How do I set or change the PATH system variable?, How do I enable the latest Java version on my Windows system?

Preference error: Configuration file can not be written

Preference error: Configuration file can not be written.

Run the application as Administrator (right-click on the executable or JAR file choose Properties -> Compatibility -> mark on Run as administrator. The program can not create or modify his files, because Windows has too strong a security policyin Program Files.


The server does not launch with Toshiba Bluetooth stack


Toshiba Bluetooth stack isn't compatible with Bluecove library (app's library responsible for Bluetooth).

MORE TECHNICAL INFORMATION, [BlueCove-users] TOSHIBA Bluetooth stack support

The server opens with Nokia Ovi Suite

Right-click on Remote PC Server.jar in Windows Explorer -> Properties -> Change Opens with to Java(TM) Platform SE binary.

Source: - I extracted the JAR file, but cannot find an executable file

The server does not launch with BlueSoleil Bluetooth stack

Exception in thread "main" java.lang.UnsatisfiedLinkError:


Error: IOException - Can't create Service [General fail]

Can't create Service [General fail]

BlueSoleil stack is incomplete with BlueCove library (BlueCove supported stacks). Try different version of IVT Bluesoleil: thread on this issue.