Solved

How to get a java application working with Server 2008 RemoteApp

Posted on 2012-03-30
2
1,060 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 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

707 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