How to Run GlassFish Without NetBeans

Oracle GlassFish Server is an application server that you can use to run various Java and other language-based dynamic applications. While GlassFish can be used to run NetBeans, a Java runtime environment, you do not need to use it with the GlassFish Server. Therefore, it is very easy to run GlassFish without NetBeans. If in the future you change your mind, you can easily install NetBeans to integrate it with GlassFish.

Instructions

    • 1

      Open your command prompt terminal on your computer. This differs depending on OS version but in general can be opened by clicking a desktop icon or launching from an administrative menu.

    • 2

      Use the "cd" command to change directory to the location of your GlassFish Server.

    • 3

      Type "as-install/bin/asadmin start-domain" (without quotes) and press "Enter" to start your server. The main server is now running.

    • 4

      Type "as-install/bin/asadmin start-database --dbhome /dir/" (without quotes, replacing "dir" with the directory path of your database) and press "Enter" to start the Java DB.

    • 5

      Open a Web browser and browse to "localhost:4848" (without quotes) to open the Admin Console. You are now running GlassFish without NetBeans.

Related Searches:

References

Comments

Related Ads

Featured