Re: calling java class from web page
- From: VB Jonnie <VBJonnie@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Jul 2007 09:42:00 -0700
Patrice,
I have tried adding the -classpath to the command line call but it did not
help, unfortunately.
When I run either a batch file or .net console app from the command line the
java application launches correctly and runs the Pro/E program as desired. It
is only when I attempt to call either of these apps (batch file or console
app) from my ASP.Net page that the java application does not launch.
Thanks for the input, I am still looking into permissions and perhaps IIS
restrictions to accessing external files. My hope is that someone reading
this discussion will have come accross this type of issue before.
I have sucessfully used Process.Start through an ASP.Net web page to start
up an external application.
--
Coding in Sunny Central Florida
"Patrice" wrote:
Have you check that the CLASSPATH environment variable is available ? You.
could likely also add the -classpath option in the command line.
You could also try a Java group as this is IMO rleated to a Java
configuration (the classpath environment variable) rather than a problem
with .NET.
---
Patrice
"VB Jonnie" <VBJonnie@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: 418CF69C-CD79-40EF-9532-82F830D0EAC5@xxxxxxxxxxxxxxxx
Thanks for the information, Sam. I will look into IKVM, at first glance it
looks promising, but probably for future projects. This particular project
involves using java code to interact with Pro/E (3D CAD application), and
due
to project time constraints re-writing the entire app would be too costly.
--
Coding in Sunny Central Florida
"Samuel R. Neff" wrote:
I would suggest converting the Java app to .NET.
http://www.ikvm.net/
HTH,
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Mon, 9 Jul 2007 06:16:02 -0700, VB Jonnie
<VBJonnie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
ASP.NET 2.0 / Visual Studio 2005 / VB.Net 2.0
I have a web interface that needs to launch a java application.
What a long strange trip it has been...
I am using Process.Start process start info parameters, first to launch
the
java app by itself with the call:
"C:\Program Files\Java\jdk1.5.0_12\bin\java.exe" javaAppName Arg1 Arg2
- Follow-Ups:
- Re: calling java class from web page
- From: Patrice
- Re: calling java class from web page
- References:
- calling java class from web page
- From: VB Jonnie
- Re: calling java class from web page
- From: Samuel R . Neff
- Re: calling java class from web page
- From: Patrice
- calling java class from web page
- Prev by Date: Re: From C# to VB
- Next by Date: Procedure searching for inappropriate language
- Previous by thread: Re: calling java class from web page
- Next by thread: Re: calling java class from web page
- Index(es):
Relevant Pages
|