Remember Me
forgot your password?

Java Developers’ guide for application development with Linux

As know in the Java Developers community, Java is a platform independent object oriented language which runs on every platform. That is why it is said for Java that “Compile once, run anywhere” language.

But when the term “anywhere” had been used, they must have some specific platforms described. If we are running Java Application on Linux then something arise in mind that which context and environment I’m into?

A Java developer new to Linux plat form may wonder about whether or not and if yes then how Java can find the environment on Linux platform? In particular four things to get on Linux platform:

  • Command-line parameters
  • Current shell’s environment variables
  • Location of data files
  • Current working directory

The answer to all these factors varies on different cases like of which kind your Java application would be and how portable you want Java application to be.

The basic external information is supplied by program invocation. It may be simple parameters or arguments. This information can direct a program to flexibility and execution.

Command-Line Arguments

When a program is run from the command line, more than just the program name can be supplied. Here are some examples:

$ javac example.java

$ mv Acct.java core/Account.java

$ ls –l

In the ?rst example, we invoked a program called Javac and gave it the parameter example.java, the name of the ?le containing the Java program that we want Javac to compile to Java byte code The mv got two commandline arguments, Acct.java and core/Account.java, which look a lot like pathnames. The ls command has one argument,  -l, which in Linux usually indicates, by its leading minus sign, that it is an option for altering the behavior of the command.

allis

Information for Java Developers on how to execute a Java program on Linux OS platform with the usability of byte codes. Java application development with Linux platform shows the flexibility of a program written in Java language.

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Programming Articles
  • More from allis

Web Portal Development

By: Digisha Modi | 07/01/2010
Web portals and Content Management Systems help improve on customer satisfaction and customer loyalty. By providing valuable information and services to customers on line, there is a much greater potential for increased sales and growth. Of course it is critical to maintain other forms of customer service, but in today's technology environment, more people are going to the internet as their first point of contact with businesses of all sizes.

Web Portal Development

By: Digisha Modi | 07/01/2010
Web portals and Content Management Systems help improve on customer satisfaction and customer loyalty. By providing valuable information and services to customers on line, there is a much greater potential for increased sales and growth. Of course it is critical to maintain other forms of customer service, but in today's technology environment, more people are going to the internet as their first point of contact with businesses of all sizes.

XHTML Development

By: Digisha Modi | 07/01/2010
XHTML is the W3C standard for developing cross browser compatible web sites. It fuses all of the display elements of HTML with some of the functionality of XML. By forcing a web designer to program more carefully and adhere to strict code standards, XHTML allows a larger percentage of browsers or code parsers to properly parse your documents. In less geeky terms, it means more people can see your site the way you meant for them to see it, and less people see your site with elements strewn all ov

Magento Custom Module Development

By: Digisha Modi | 07/01/2010
Magento is a new and powerful eCommerce system offering rich customization possibilities by extensions and modules. Magento is built on a fully modular model that influences an unlimited scalability and flexibility for your store. Part of customizing Magento is, creating Magento custom Modules. These allow you to inject functionality anywhere, whether in a "static" block fashion that's more than static, or a shipping/payment module, or large module to do something as large as integrating a 3rd p

Winnovative HTML to PDF Converter - An Easy Way to Create and Maintain PDF Reports

By: Winnovative Software | 06/01/2010
The HTML to PDF Converter for .NET from Winnovative Software combines the powerfull printing capabilities of the PDF format with the flexibility of the HTML to format to create a great tool for creating nicely formatted and easy to maintain PDF reports and documents.

ASP.NET Reports creation

By: Famous16 | 06/01/2010
The ability to create reports is one skill that all must have had to develop. No matter the situation, school work or even in the home, a report could be necessary in almost any circumstance.

SilverlightRS - an upgrade to Silverlight

By: chaudhary fahim | 06/01/2010
Windows Presentation Foundation was the initial name for Silverlight everywhere.

The “MySQL” Way of the World

By: Tyler Moon | 06/01/2010
Each enhancement of the again and again points out to the fact as to why the newest version of MySQL is the perfect choice for IT professionals who want to profit from the flexibility and cost savings of open source software, but not forfeit anything relating to database reliability, performance, and ease-usability features.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.07, 1, w2)