Dario,
We do not support the java applets for RDP applications, but we have a workaround created by one of the engineers; this may or may not work for you.
This workaround is to publish the javaw.exe & allow the jar file to be called via the command line parameters. Please see the information below for more info. Since this is not officially supported there is not much more we will be able to do to help if this doesn't work for you.
Also, we only officially support Windows 32-bit applications. Even if Launch4J is making a 32-bit executable, the application inside is still Java.
Regards,
Anthony
Transparent Login with a Java Tool
In general Java apps don’t work well. This is because they do not use standard windows forms, so the Learn Tool Control Viewer can’t read them.
Below I will provide an e.g. of a case that I worked. This doesn’t mean that all the java tools have same behavior.
This is the current jar that I want to use with Transparent Login:
- 1) Publish the Jar file. In this cases I published the LocalAdmin.jar
- 2) Launch the Learn Mode from the server you have published the jar.
- 3) Run the jar file (LocalAdmin.jar in my case). You may notice that the tool is not recognized by the Learn Tool so we have to configure the Transparent Login Config user by clicking on Text input->Keystrokes.
In my e.g. I need the username and password:
<window id="">
<send id="window" username="true"/>
<send id="window" text="{TAB}"/>
<send id="window" password="true"/>
<send id="window" text="{ENTER}"/>
</window>
- 4) Now let’s validate and debug the tool with the Learn Tool:
- a. Click on the Debug button and browse the javaw.exe file in the ‘App path:’ field.
- b. Enter the window Title of the tool. In this case is Login.
- c. Enter the username and password.
- d. Click on Run.
- e. Run the java file (C:\LocalAdmin\LocalAdmin.jar)
- f. You should see that the fields are automatically completing with the user and password provided in the Debug.
And you should see the following information displayed in the command prompt:
- 5) If the result is successful then configure the RDP Application Service with the following comedmand:
“<JAVA PATH>\javaw.exe” – jar <jar file
In my e.g. I have the following line:
"C:\Program Files (x86)\Java\jre1.8.0_101\bin\javaw.exe" -jar C:\LocalAdmin\LocalAdmin.jar