[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to get a java application working with Server 2008 RemoteApp

Posted on 2012-03-30
2
Medium Priority
?
1,119 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

656 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