How to run java progarm like jbuilder in windows

hi,
I had writed a java program with JBuilder6. After i deploy it, I can only run it in the DOS window using command line in the windows OS, and when it is running , there is always a DOS window opened.
JBuilder6 is a pure java program, but when it is running, thing is not the same, it has no DOS window with it.How to do like JBuilder6?
Thanks.

Use "javaw <class name>" to execute your compiled java code so that DOS window won't appear while executing.

Similar Messages

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

  • How to run Java program as Daemon Server in linux

    How to run Java program as Daemon Server in linux
    i would like to run the java program on system start up in a redhat linux system
    can any one provide rc.status file

    http://wrapper.tanukisoftware.org/

  • How to run java servlet without using Web.xml?

    How to run servlet without using Web.xml? From a book, I know that web.xml descriptor is optional, but the book doesn't tell us how to run java servelet without web.xm descriptor. So how to do that? Thanks a lot.

    How to run servlet without using Web.xml?But Tomcat now uses a web.xml for its global server-wide configuration.
    If you'd like to invoke a servlet with:
    http://host/servlet/ServletName
    you have to enable the invoker servlet.
    [from an HTML]
      <FORM METHOD="POST" ACTION="/servlet/HGrepSearchSJ">
    [from resin.conf of Resin Web Server 2.1.12]
      <!--
         - The "invoker" servlet invokes servlet classes from the URL.
         - /examples/basic/servlet/HelloServlet will start the HelloServlet
         - class.  In general, the invoker should only be used
         - for development, not on a deployment server, because it might
         - leave open security holes.
        -->
      <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
    [from TOMCAT5.0.19/conf/web.xml, a global server-wide web.xml file]
      <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
      <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
      <!-- servlet is mapped to URL pattern "/servlet/*", but you can map it    -->
      <!-- to other patterns as well.  The extra path info portion of such a    -->
      <!-- request must be the fully qualified class name of a Java class that  -->
      <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
      <!-- of an existing servlet definition.     This servlet supports the     -->
      <!-- following initialization parameters (default values are in square    -->
      <!-- brackets):                                                           -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>
    ---comment out below----------------------------------------------------------
        <!-- The mapping for the invoker servlet -->
    <!--
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>
    -->

  • How to run Java Card 2.2.1 demo application?

    Hi Friends..
    i want to know how to run Java Card 2.2.1 demo application in Windows environment..
    Sorry, perhaps this question looks like a little bit stupid.. :(
    In Windows, I've set the environment variables for :
    JAVA_HOME : C:\Program Files\Java\jdk1.6.0_03
    JC_HOME : C:\java_card_kit-2_2_1
    and then how to run demo1.scr, etc?.
    Please help me regarding this,
    Thanks in advance..

    Is there any suggestion for my question?.. :(
    Thanks in advance..

  • How to run Java Application in Weblogic 8.1

    Hi,
    I'm new to Weblogic 8.1. I just deployed a EJB with WebLogic 8.1 Server and I
    don't know how to run my Java Application against the EJB I deployed earlier.
    I tried to run "java Client_1" in a console window. It gives me the following
    message:
    C:\temp\WebLogic\new>java Client_1
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.
    WLInitialContextFactory. Root exception is java.lang.ClassNotFoundException:
    we
    blogic.jndi.WLInitialContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:217)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
    a:42)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    49)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at Client_1.getInitialContext(Client_1.java:55)
    at Client_1.main(Client_1.java:14)
    C:\temp\WebLogic\new>

    hi,
    i solve this one after check bea documnetaion.
    with regards
    jp

  • How to run java signed applet in vista with changing IE security options

    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.

    j_nanaji9 wrote:
    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.Can't be done without changing the security setting.

  • How to make a dialog like jbuilder?

    How to make a dialog like jbuilder's popup dialog. Such as search dialog in jbuilder. It can zoom in and zoom out, but it can't infinite zoom out, why?

    nobody?

  • How to run .java file in windows ?

    How to run .java file in windows without installing any program? Thx!

    First, U must make sure that there is JDK on your computer
    Then, set the envionment variables which the os can find your compiler and interpreter: javac java
    after those, you must complie your .java file to .class file, then you can excute it by java, for example " java helloworld"

  • How to run java using xcode?

    i have to install "java developer " but i can't find, where i can run Java, Please give me information about "how to run java use xcode " ?

    Download the SDK from Oracle, code, enjoy.

  • How to run D2k 32 bit Application on Windows 7 64 Bit

    Dear Friends
    How to run D2k 32 bit Application on Windows 7 64 Bit, Presently I am having a Application developed in D2k 32 Bit, and it is running smooth on Windows Visa and Windows Xp. but now OUr company are going for new Laptops having Windows 7 64 Bit.
    Is there any way to Solve this Problem, or I have to upgrade D2k , which will be a 6 month job.
    sandy

    Since Forms 6 was never certified on Vista, I will assume you don't care about using Oracle Support. If that's the case, getting Forms 6 to work on Win 7 would likey require similar steps as you took to getting it to work on Vista.
    At minimum, you would need to do the following:
    1. Start with Forms/Reports 6.0.8.11 (6i Release 2)
    2. Install the latest (last) patch (#17), bring the version to 6.0.8.26
    3. It may be necessary to relax or disable Windows UAC
    4. To run the executables, you have to right click on them and select Run As Administrator in order for them to work properly.
    THE ABOVE IS NOT A SUPPORTED CONFIGURATION
    Forms 6.x was desupported years ago. If you have not already begun to do so, you should probably be working on a migration plan in order to get you to a supported version. The latest version is 11.1.1.3, so you are far behind. All versions newer than 6.x are entirely web based. This means that you will no longer be able to use the Forms runtime on the client machines. Client machines will require an Oracle certified browser and JRE in order to run Forms. Certification information for Fusion Middleware 11 (includes Forms 11) can be found here:
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls
    FMw Product information can be found here:
    http://www.oracle.com/us/products/middleware/index.html
    Forms 11 information can be found here:
    http://www.oracle.com/us/products/tools/oracle-forms-161771.html
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html

  • How To Run OIM Under Weblogic As A Windows Service?

    Hi
    does anyone know how to run OIM under Weblogic as a windows service?
    Many thanks in advance,
    Evanela

    Hi
    Does anyone know how to run OIM under Weblogic as a windows service?
    I have used "Setting Up a WebLogic Server Instance as a Windows Service" (http://download.oracle.com/docs/cd/E12839_01/web.1111/e13708/winservice.htm#START143), but It doesn't work because OIM use the xlStartWLS.cmd file and not startWebLogic.cmd.
    thanks!
    Edited by: user13082223 on Sep 29, 2010 9:09 AM

  • How to run Java application involving DOM3 in a command shell?

    Dear all,
    I am currently in a testing phase on my Java implementation (in JBuilder 2005) utilizing DOM3(built 2 .jar files from Ant via CVS thanks to dmbdmb). It seems working properly. To experiment its capability of handling big size files, it is essential to do a bit testing by running the application in a command shell (got 'OutOfMemoryError: Java heap size' when run it in JBuilder), something like:
    Java -Xmx256m MainHowever it gives out another error of
    java.lang.NoSuchMethodError: org.w3c.dom.Node.setUserData(Ljava/lang/String;
    Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;All fine in JBuilder because I configured its 'required libraries' and added up the 2 DOM3 .jar files. Now how should I do to make them working in a command line? I already added the paths of these 2 .jar files to CLASSPATH and also tried to put a copy of them under the same directory as 'Main'. Unfortunately the 'NoSuchMethodError' is not going away...
    Thanks to any help

    I managed to include these 2 DOM3 jar files into a jar file, xml.jar, together with all other class files. (I put a copy of these 2 DOM3 .jar files and the JDBC connector file, mysql-connector-java-2.0.14-bin.jar into the same folder as with other class files, then run something in the command line like:
    D:\>jar cmf manifest.mf xml.jar xmltree/*   //xmltree is the folder/also the package nameThe resulting xml.jar can use the included 2 DOM3 jar files, however another JDBC error occurs when attempting getting a connection to MySQL( details also on http://forum.java.sun.com/thread.jspa?threadID=642812 ). Why do these jar files behave differently, as 2 DOM3 files do well in the xml.jar, whilst the JDBC connector jar does not like it?
    Another anomaly is that, though they work well by double clicking xml.jar, the 2 DOM3 jar files still do nothing if executing the jar from a command line as follows:
    D:\>java -jar xml.jar      //it still throws out NoSuchMethodError
    Why the DOM3 jar files also behave differently depending on how the xml.jar is invoked??
    Really cannot work it out & thus need your kind help!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Run java class using JBuilder

    hi,
    I already import the java class forder to the src folder in JBuilder where the src folder is created by the JBuilder itself. When i run compile the program there is an error in reading the java class file but when i run the program in Textpad, the program is success. May i know why? how can i run my program using java class in JBuilder instead of Java source? Thanks.

    In JBuilder there is an option of specifying what the 'main' file in a project is . Specify that to this class file
    [ What I mean is , in many java files we can define 'main' method , but we will intend to execute the main of one file only for a project . In JBuilder specify this file as the main class file ]

  • How to run java on n900?

    therez no java function on it but i think there are software or emulator to run java if there is any way to run java plzz tell me in brief...................my another questn is dat  if nxt firmware will releaz wid d java embeded code dat supporting jar programmes?

    proutinette wrote:
    Thanks.
    This is confused and confusing probably because my english is not my language, and because i am not sure how a Java application works.
    For running JSP on my local server, it is was easy, and I did need to know how it really works. I installed Tomcat server and Java SDK.
    To run my application, i jsut need to type http://localhost:8080/myPage.jsp.
    That description is not exact.
    The server is running Tomcat with your application.
    Your browser (not the application) connects to the server (tomcat) and the server (tomcat) runs your application and returns the result to the browser.
    If i want to run the same myPage.jsp on my distant server, i would need probably to install something on my server?
    www.mywebsite.com/myPage.jsp will not work just like that of course.
    You need to install a number of things. At a minimum Tomcat and your application (the thing that runs inside Tomcat.) There is likely to be other requirements as well such as java and patches and perhaps a database server (if your application uses a database.)
    So what do i need exactly to install on my server to run a JSP?
    In fact, i am afraid if i install Tomcat on my server, the other applications will not work.What "other" applications?
    Is Tomcat already installed on the server? Is there already other applications running on that server? Then yes you must install your application into Tomcat (not the server) such that it will not stop the other applications (in Tomcat) from running.

Maybe you are looking for

  • Albums not showing photos

    I am just learning about IPhoto 5. I made albums and all was great for days with slide shows and all. Then I added some new photo's to albums, now my albums will not show photo's. I can only see my photo's in IPhoto folders that are of various number

  • Dump GETWA_NOT_ASSIGNED in ALV

    Hi, i created a new ALV and when i want to export the data to Word document or local file, every format except Excel format (it's work !) i have a dump with GETWA_NOT_ASSIGNED error. I looked this error on SDN and people talk about field catalogue i

  • Smart Album Help

    Smart Album help, please! While converting old slides to digital, I am importing to iPhoto in small batches. I have created a "smart album" for the converted slides expecting successive imports would automatically install into that "converted slides"

  • Showing error as popup when message type is 'E'.

    I have some problem about showing message. When I try to show error message by using message type 'E', message shows as popup like message type 'I'. I don't want to show message as popup. Sap version is ECC 4.6. please give me an answer experts. Have

  • Questionnaire for rollout project

    Hi, I need to prepare SD questionnaire for roll out project. Please help me regarding this. urgent. Regards Prabudh