Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java App.to be a link

Status
Not open for further replies.

A1Pat

IS-IT--Management
Jun 7, 2004
454
US
Hello all,

I'm having an application file, believe to be a Java, and I wonder if there is a way for me to make it as a link so when the link is clicked, a new page will be opened with that Java application to execute.

If it is doable, please show me a way.

Thanks!
 
I've found it best to use a shortcut instead. I create a new shortcut where the "target" is something like:
%windir%\system32\javaw.exe -cp h:\java -Duser.home="h:\java" dandc, where dandc is the name of my main class, and it's found in h:\java.

_________________
Bob Rashkin
 
I'm interested in having this application to execute on browser so that anyone can go online to utilize this application. Do you think it is workable?

P.S. I don't want view to download the application either.
 
normally, i'm using IE and Firefox... but I would really prefer IE for this project most of the time.

my OS is WinXP, but this is not my point cause I'm looking for a way for most, if not all, users with all kind of OS to be able to use this application.

finally, it's not a jar-Archive, and I'm don't even sure whether it is Java myself, except I was told by that it looks like a Java file, that's all!

Sorry about the lack of understanding, hope you can have a better view about my situation now.
 
Let's start from the beginning. What's is exactly your application? A file? A set of files? Do you know the extension of the files? Maybe you just use the application in your browser?

Cheers,
Dian
 
You may start a javaprogram INSIDE and FROM the browser if, and only if it is a java-applet, which would be a .class-file, or a .jar-file, but a .jar- or .class-file might be an application too (or just a part of something) which isn't executable, and especially not executable INSIDE the browser.

Did you ever manage to run cmd.exe inside IE/FF?
Well - some pdf-viewers integrate inside the browser, that's true.

Think of starting any executable in the browser, like:
file:///C:/WINDOWS/SYSTEM32/format.exe%20C:

- masked with a <a href="..."> Earn lot of money easy ... </a>

You couldn't click any link any longer, without inspecting it's command first.

don't visit my homepage:
 
Exactly, it's only a single file and it's type of file is Application, when I right-clicked to property. When I double-clicked the file, it opens right up and works just fine. I don't see any included file in the folder anywhere. Does this help?

But you know what, I'm pretty much giving up on trying anyway. Your reply, if any, will provide me a better understanding about the situation. I thank you for all of your help and sorry if you might think I'm wasting your time.

Again, thank you!
 
I definitely think that has nothing to do with Java. This is more a Windows question. Anyway, I don't think you can publish an application to be accessed via the browser the way you want to.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top