?
Solved

How to get a java application working with Server 2008 RemoteApp

Posted on 2012-03-30
2
Medium Priority
?
1,087 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
pradhanv earned 2000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Suggested Courses

771 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