Solved

How to get a java application working with Server 2008 RemoteApp

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

742 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