Solved

a Q  about j2sdk-1_4_2_04-windows-i586-p.exe and Java Web Start

Posted on 2004-04-01
8
1,080 Views
Last Modified: 2013-11-23
Hi All,

I have written many java programs  with JBuilder 5 personal and wanted to move to Sun's program  the j2sdk-1_4_2_04-windows-i586-p.exe

Launching this j2sdk-1_4_2_04-windows-i586-p.exe  now put  Java Web Start on my Desktop.  Is there a way to get my programs to run in that environment of a Java Web Start? Seems that all it wants to do is to jump to demo's that are on the net and archived at Sun.

And when I used several of the demo's that are included in the jre, they do understandably OK if they are an applet . But if it is a application that requires a frame,then  it needs to have the application in a .jar and then launched by a html page.

How can I get my application programs to run wthout  putting things in a jar and then launched by an applet?


Delphi3
0
Comment
Question by:delphi3
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 10737127
You need to use javac to compile and java to run:

http://suif.stanford.edu/~courses/cs243/joeq/java_intro.html
0
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 25 total points
ID: 10737197
Java Web Start is used for delivery and updating of software.
0
 
LVL 15

Assisted Solution

by:Javatm
Javatm earned 25 total points
ID: 10737689
> How can I get my application programs to run wthout  putting things in a jar and then launched by an applet?

Without putting them into jar means that you will run or call the classes of the file if you want it as applet :

Codes for an html file :
<APPLET CODE="YourFile.class" WIDTH=320 HEIGHT=70>
</APPLET>

Here is a piece of demo :
http://www.dataway.ch/~bennet/java/3DClockEx2.html

If you wanna use jar to be called in an applet :
http://java.sun.com/j2se/1.3/docs/guide/jar/jarGuide.html

Here is the info for webstart :
http://java.sun.com/products/javawebstart/
http://www.dallaway.com/acad/webstart/
http://java.sun.com/developer/technicalArticles/Programming/jnlp/

Hope that helps . . .
Javatm



0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

Author Comment

by:delphi3
ID: 10738410
Hi All,

Thanks to all for your responses.

Does anyone responding above  have  j2sdk-1_4_2_04-windows-i586-p.exe? installed it, now have Java Web Start on your desktop?

If yes
are you able to run programs those that are applets and those that are applications that you have made? not ones that are at the Sun site to download?

If yes can you detail an explanation how it is done?

D3
0
 
LVL 15

Expert Comment

by:Javatm
ID: 10738977
> Does anyone responding above  have  j2sdk-1_4_2_04-windows-i586-p.exe? installed it
You can use any jdk as long as you have the jdk which has the java webstart.

> If yes can you detail an explanation how it is done?
Look on the links that I gave you and it should answer your question.

Hope that helps . . .
Javatm
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 25 total points
ID: 10739452
>>are you able to run programs those that are applets and those that are applications that you have made?

I think you might be misinterpreting the purpose of Web Start. If you want to use it for your own applications, you need to package them in a certain way such that they are available to Web Start. The real purpose of WS is as orangehead mentioned. Normally you will be concerning yourself only with the standard tools - javac in particular
0
 
LVL 4

Author Comment

by:delphi3
ID: 10746704
Solutions are appreciated.

Splitting points is the only fair way to close this.

I will make another post: how to use localhost and this sun j2sdk-1_4_2_04-windows-i586-p.exe.
I do have a localhost already in place and would like to get it to operate using JavaWebStart

But not right away.... will try to work out somethings myself.

Hopefully I will be back and so will you.

D3
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10747224
8-)
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java DateChooser? 3 36
javap bin 2 34
How  Can  I  resolve   this  Error "java.sql.SQLException: Invalid column index" 4 38
Running JavaFX on JDeveloper 12C 1 32
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

770 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