Solved

How to get a java application working with Server 2008 RemoteApp

Posted on 2012-03-30
2
942 Views
Last Modified: 2012-04-02
I have a Java application that spawns a launcher but when I create the app in RemoteApp and create a RDP file for it and try to spawn it I get an Java Virtual Machine Launcher "Could not find the main class. Program will exit." error. settings for this application are below.

Location:

C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe

Command-line arguments

-classpath db2jcc.jar;db2jcc_license_cu.jar;db2jcc_license_cisuz.jar;lme_lib.jar;. -Dsys.drive=%systemdrive% com.ats.loadmaster.deploy.LMELauncher
0
Comment
Question by:maximus81
2 Comments
 
LVL 3

Accepted Solution

by:
pradhanv earned 500 total points
ID: 37791328
Create a batch file to start your application on the server with the complete command with args.
Create a RemoteApp of this batch file and create a .rdp or a package.
Check this new .rdp/package.
0
 

Author Closing Comment

by:maximus81
ID: 37796325
This worked. Thanks
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now