Home Tutorialhelp Comment windows and linux

 
 

Comment

lm
windows and linux,
March 4, 2010 at 7:10 AM

Hi, I need to know if there is any difference if I want to run this in both windows and linux. does java translate de / in the path?

thanks a lot
View All Comments
Advertisement
Related Tutorial and Articles
Java Beginners

java on linux - Java Beginners
java on linux  How to compile and execute java applications in linux 

Java Magazine Questions

linux desktop on windows without using vn or any other ? - Java Magazine
linux desktop on windows without using vn or any other ?  linux desktop on windows without using vn or any other ?. I have a linux pc and windows xp pc but i am not able to connect the linux pc on windows .why? .windows 

Java Beginners

Getting Current Directory from java - Java Beginners
Getting Current Directory from java  I'm designing an application in linux where i need to get the current directory of my java file... I'm using.../Softwares/apache-tomcat-5.5.27/logs How to get the directory of my current 

Programming Tutorials

Open Source Directory
Open Source Directory Open Source Java Directory The Open Source Java... Source Directory Server Linux vendor Red Hat  plans to release... - to many different platforms.    Open Source Java Directory 

Java Beginners

why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we all know that to prepare webapplications we will create a direcotry sturcture... e)providing deployment descriptor (web.xml) as part of WEB-INF directory 

Java Beginners

why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we all know that to prepare webapplications we will create a direcotry sturcture... e)providing deployment descriptor (web.xml) as part of WEB-INF directory 

Java-Tutorials

Java Create Directory Example
Java Create Directory Example To create a directory in java call the mkdir... of creating a directory in java is given below SampleInterfaceImp.java import...(System.in)); String directoryName=br.readLine(); // Create one directory 

Java Tools

FTP Server : Create Directory
In this section you will learn how to create directory on FTP server using java 

Java Beginners

Directory chooser in core java - Java Beginners
Directory chooser in core java  Hi, I have to create a Utility... to create a GUI( AWT or Swing based only) which should have 2 directory...[]) { JFrame frame = new JFrame("Directory chooser file example"); FileChooser 

Java Beginners

Linux
Linux  hi all, i want to invoke shell program from java. i m using the following code. package script; import java.io.IOException; public class RunShell { public static void main(String[] args) throws IOException 

General

Java for Linux
Java for Linux      ... create a directory called jdk1.5.0_01 in the /home/deepak directory. Move the SDK directory to /usr/java/. Create  /usr/java if doesn't exist. Here 

General

Installing JDK 7 on Windows
Installing JDK 7 on Windows - Beginners tutorial for installing configuring... step towards learning the Java Programming Language. This beginners Java.../bin" directory in the path. Step 4: To test the Java installation go 

Java-Tutorials

Java Create Directory - Java Tutorial
Java Create Directory - Java Tutorial   ...;java CreateDirectory Directory: test created Directories...;. the mkdir( ) method is used to create a single directory while the mkdirs( ) method 

Core Java

Java Create Directory
The following example will show how to Create Directory in Java. Though... is already created" will be displayed. Example of Java Create Directory... of the program. For this we cerate a file object in File class which will create a new 

Java Tips and Examples

Java Create Directory - Java Tutorial
Java Create Directory - Java Tutorial       In the section of Java Tutorial you will learn how to create directory using java program. This program also explains 

Linux-Tutorials

Linux Vs. Windows
Linux Vs. Windows       ...;       Both Linux and Windows works... the version or distribution of   the software. Both Windows and Linux have 

Java Beginners

How to create a new text file that contains the file names of the copied files in a new directory? - Java Beginners
How to create a new text file that contains the file names of the copied files in a new directory?  Okay so my question is: How to create a new text file that contains the file names of the copied files in a new directory 

Java Beginners

Create text file at client's directory from server.
Create text file at client's directory from server.  Need java code to create text file at client's directory from server..... Please Help 

JSP Servlet Questions

why jsp pages are not working on linux but java application is working in windows - JSP-Servlet
why jsp pages are not working on linux but java application is working in windows  java web application jsp pages are not showing the fileds corectly on linux server but same application is working on windows.why 

Java Beginners

XML- read Text Mode - Java Error in Windows - reg. - Java Beginners
XML- read Text Mode - Java Error in Windows - reg.  Dear All I'm... (*) create a output writter BuufferedWritter (*) create a output file writter... in the "Windows" platform. what is the problem and how to reactify it. Please any one 

Java Technology Tutorials

Java file new directory
Java file new directory In this section, you will learn how to create a new... an object of File class and specify a directory which you want to create. Then we..."); file.mkdir(); } } By using the method mkdir(), you can create a directory 

Java-Tutorials

The JDK Directory Structure
Directory structure of JDK Welcome to Java tutorial series. In this lesson, you will learn about the directory structure of Java Development Kit, JDK. Since...\jre It is the root directory of the Java Runtime Environment. It is used 

Core Java

Java for Windows
Java for Windows       First of all download jdk for windows and then install and configure the Java SE...;http:/www.roseindia.net/java/beginners/installing_java.shtml  Setting Up 

General

Installing ant in Linux
Linux box and create a directory "ant" under /usr/local...-ant-1.7.1-bin.zip onto your Linux box in  /usr/local/ant directory. Step 4: Extract... of the zip file and will create a new directory apache-ant-1.7.1 Step 5: Set path 

General

The Beginners Linux Guide
Microsoft Windows 9x. Windows-Newsreaders-under-Linux-HOWTO, Windows Newsreaders under Linux HOWTO Updated...The Beginner's Guide to Linux Dedicated website to Linux containing Online 

Java Beginners

Need Sample code To check the Windows services status is up or down in Linux mechine
Need Sample code To check the Windows services status is up or down in Linux mechine  Hi, I did code to check the windows services are up or down... is up or down ,this has to check that in linux with simple standlon java 

Programming Tutorials

How to make directory in java
Description: This example demonstrate how to create a directory at specified path. Code: import java.io.File; public ... is that it will make a dir at root directory of C drive 

MongoDB

Installing the MongoBD on the Windows computer
an installer. You just have to extract the zip file, create the directory for database, create directory to store log file and create a configuration file for MongoDB...++, C#, Go (mgo), Java, Perl, PHP, Python, Ruby and Scalaa can be used to create 

Development process Questions

windows shell scripting
windows shell scripting   Hi All, Using this knowledge make a batch... parameter be a directory path. Use Param2 and ‚??change directory‚?? to that path... = Hello, Param2 = C:\Program Files\Java, Param3 = abcd.txt C:\Program Files\Java> 

Development process Questions

windows shell scripting
windows shell scripting   Hi All, Using this knowledge make a batch... parameter be a directory path. Use Param2 and ‚??change directory‚?? to that path... = Hello, Param2 = C:\Program Files\Java, Param3 = abcd.txt C:\Program Files\Java> 

General

Installing Sun JDK on Linux
directory to /usr/java/ .Create /usr/java if it doesn't exist. Here is the command used...Installing Sun JDK on Linux (Fedora Core 3)   .... Installing Change to the directory where you downloaded the SDK ( I downloaded it in my 

Programming Tutorials

Java Telephone directory management system
Java Telephone directory management system Here we are going to create a java application for Telephone directory system. For this, we have accepted ID, name...: import java.io.*; import java.util.*; class Directory implements 

Java-Tutorials

Copy Directory or File in Java
Copy Directory in Java      .... otherwise read the source directory name and create the OutputStream instance...: C:\nisha>java CopyDirectory Enter the source directory 

Java-Tutorials

Moving file or directory from one directory to another
name and if you enter "y", it will create a new directory... directory does not exist. \nDo you want to create a new directory(Y/N)? "... you want to create a new directory(Y/N)? y File or directory moved 

Java Beginners

Java Programming on Linux
on Linux? I want following tutorials: a) installing and enabling a Java runtime environment on Linux b) Java development on Linux to run Java applications c... Components JCE and JAI in Linux environments f) Embedded Java and Jini in Linux 

Java Beginners

how to copy the directory in to ftp server using java
how to copy the directory in to ftp server using java  how to copy the directory in to ftp server using java ?   Hello venaktehs As much as I know,You can do this as follows: First,Create a directory in the current 

Java Beginners

telephone directory
telephone directory  how to make a telephone directory using arrays?   Hi Friend, Please visit the following link: Java Telephone Directory Thanks 

Java Beginners

Sound Java Linux
Sound Java Linux  How can we play sound on java using Linux 

Development process Questions

java with linux - Development process
java with linux  HI , This is namit.I want to know how to link a java program with linux platform 

Android

Installing Android Studio on Windows 7
Installing Java (JDK 7) on Windows 7 Computer Video Tutorial. Step 2: You...Installing Android Studio on Windows 7- A video tutorial on installation... can install Android Studio on Windows 7. This video tells you all the steps 

Java Beginners

Directory structure in hibernate for stand alone application - Java Beginners
Directory structure in hibernate for stand alone application  Hi, Please tell me directory structure of hibernate using only stand alone application 

JDBC Questions

java server on linux ystems
java server on linux ystems  hi.. i use linux... i want to remotely login into another linux system using java and then execute commands over that system.....how can i do this using java..password of host is known to us 

RMI Questions

ls: cannot access >: No such file or directory
/f.txt from terminal in linux its creating f.txt.But cant run from java program ls: cannot access >: No such file or directory error is displayed .No f.txt 

Development process Questions

Running Java Applications as a Windows Service
Running Java Applications as a Windows Service  sample code for "Run a Java application as a Windows Service 

Struts Examples

Linux Open Source
Linux/UNIX/Windows servers, databases, network devices, desktops, and directory... management across Linux/UNIX/Windows platforms. 3. Tripwire Enterprise... approach to Linux-based operating systems. Sun provides Java technology 

JSP Servlet Questions

JavaMail and Gmail in Windows - JSP-Servlet
JavaMail and Gmail in Windows  Hello! I made a java program to send and receive emails through Gmail SMTP server. It worked fine in Windows 7 but when I try to run the same program in Windows XP in a different machine 

JavaMail Questions

why mails are sending from the linux server - JavaMail
from the linux server.We have 3 systems. server system is windows 2003 server and Our java application is inside linux server. Whenever we send the mails from java application,mail are not sending .Mail server is installed on windows 2003 

Java Beginners

Create a Table - Java Beginners
Create a Table in Java  How can i create table in Java?  Java Example Code - Creating table in JAVA- - - - - - - - - - - - - - - - - - - - - - Hi, here i am giving you a java program code, that creates a table with two 

Java Beginners

Connect a linux machine from linux using java program without password
Connect a linux machine from linux using java program without password  Connect a linux machine from linux using java program without password. Can anyone help me 

Java-Tutorials

Traversing a file and directory under a directory
and subdirectories are traversed lying under a directory. We can find that, how many files and directories are available within a directory. This is very frequently... describes how you can traverse a directory if it contains directory and files 

Java Beginners

tar directory and subdirectories
tar directory and subdirectories  Hi, I am developing program on Linux machine. I have to create the .tar file of a directory and subdirectories... easy in Linux or Unix. You can easily create tar archive of directory 

Ant

Ant make directory with relative path
, how to compile java file and how to create jar file. This is a simple program...; is used to compile the java file and copy the class file in build directory... Ant make directory with relative path    

Core Java

Java Technology on Linux
Java Technology on Linux      ... for the Linux platform. Java technology also makes available tested servers... Java 2 Platform Windows for the web application development. While developing 

General

Java Tutorial for Beginners in Java Programming
Java Tutorial for Beginners - Getting started tutorial for beginners in Java programming language These tutorials for beginners in Java will help you..., Linux, Unix and Mac machine. Java application also runs on mobile devices 

Java Beginners

Create test engine - Java Beginners
Create test engine  How can create a test engine dat generates questions randomly using javax.swing in java 

Core Java

Java fx for windows
Java fx for windows         JavaFX, a family of products, is based on Java technology to create Rich Internet applications (RIAs) that simplifies and speed up the creation 

Programming Tutorials

Java get windows Username
Java get windows Username     ... of the windows. System.getProperty("user.name")- This method retrieve the username of the particular system from all the properties of Windows.     

Java Beginners

Java - looking for a tool to force-kill a child process (Windows)
Java - looking for a tool to force-kill a child process (Windows)  hello I am looking for a Java tool/package/library that will allow me to force... (mandatory). Support for Linux/Unix is desired. My Problem My Java code creates 

Java Beginners

java classpath prbm in windows 7
java classpath prbm in windows 7  i have a problem to set... that user variables i set them like this: CLASS .;C:\Program Files\Java\jdk1.6.0_32\lib; in system variables PATH .;C:\Program Files\Java\jdk1.6.0_32\bin; after 

Java Tips and Examples

Determining if a Filename path is a file or a directory
Determining if a Filename path is a file or a directory.... What you need to do, just create a File object and pass some file name or a directory in it. We are using a following methods to solve this problem 

Java Beginners

java coding - Java Beginners
java coding  how to create a window that contain a list of all files of specified directory 

Java Beginners

read/write to Windows Registry using Java
read/write to Windows Registry using Java  read/write to Windows Registry using Java 

Java Beginners

JNA for Linux/ARM
JNA for Linux/ARM  Can anybody tell me if there is any JNA for Linux... for Java Native Access, a replacement of JNI (Java Native Interface). I searched the net and I do not find a JNA Implementation jar for Linux under ARM. But the site 

Java Beginners

create
create  how to create an excel file using java 

Java Beginners

Create JAR file - Java Beginners
Create JAR file  Respected Sir, I got the answer from your side... each time in order to run your JAVA program on some other computer, it;s better...; javac *.java 4. Then type the following :- C:\Answers\Examples>jar -cf 

Java Beginners

how to create executable - Java Beginners
how to create executable  How do i create a executable file from a java file thnks in adv...!  Hi Friend, Try the following code: import java.io.*; import java.util.jar.*; public class CreateExe { public 

Java Beginners

Create Project SplashScreen - Java Beginners
Create Project SplashScreen   I want to Create project splashscreen that visible only for 1 minute after 1 minute i want to display LogIn form how i can create in java.   Hi Friend, Try the following code: 1 

Java Beginners

Java Code to Block a website accessed by any browser in windows
Java Code to Block a website accessed by any browser in windows  I want create an application in Java through Netbean IDE to block any website to be accessed by any browser. I also want to display only its html contents. please 

PHP Questions

Create Directory in PHP
Create Directory in PHP  Hi, I want to create a small php program like how to create directory in PHP. I need the help of PHP programmer, who could... here with suggest the best examples and syntax related how to create directory 

Java Magazine Questions

how to access windows registry information using java?
how to access windows registry information using java?  can any one help me how to access windows registry information using java 

Java Beginners

create named class - Java Beginners
create named class  Can you check my coding@program: How to create a class named Employee with name and salary. Make a class Manager inherit from Employee with an instance field named department. Supply a method toString 

Programming Tutorials

Linux tutorials and tips
Linux is of the most advanced operating system. Linux is being used to host websites and web applications. Linux also provide support for Java and other... applications and then hosting on the Linux servers. Learn about the Linux server 

Java Beginners

java - Java Beginners
for different platform. Thanks   Yes, Java is platform indipendent. Because we can run any java program in tany system. Means if i am running my java program in windows & same program i can run in solaris operating system 

Java Tools

Search Directory on Ftp Server
This tutorial describes how to search a specific directory on the server by using java 

Java Tools

FTP Server : Remove Directory
In this section you will learn how to delete directory on FTP server using java 

Java Beginners

Java - Java Beginners
Java  Hello, I have a servlet that checks whether a directory... the directory get recognised when Tomcat runs from Services. I am running the servlet on Windows Server 2003. Thanks In Advance.   Hi 

Java Tips and Examples

Java SDK Directory Structure
Java SDK Directory Structure   ... of command provided by Java compiler. Demo directory - This directory consists... to combine C code into a Java program. Jre directory - When you run 

Java Beginners

create MS Word in Java - Java Beginners
create MS Word in Java  Hi, Could any one please post the code which creates the word document having different paragraphs and two tables. i have... which creates MS Word in Java 

Java-Tutorials

Java - Deleting the file or Directory
Java - Deleting File      ... or directory is deleted after checking the existence of the. This topic... of file and directory pathnames.  Explanation This program takes 

Java Tips and Examples

Java Directory - Directory and File Listing Example in Java
Java Directory - Directory and File Listing Example in Java... directory. This topic is related to the I/O (input/output... and directory pathnames. This class is an abstract, system-independent view 

Java Beginners

how to create this diamond structure with java. - Java Beginners
how to create this diamond structure with java.   * *** ***** * *** *** * ***** * *** *** * ***** * *** *** * ***** *** *    

Java Beginners

Create Reports in Java with access database - Java Beginners
Create Reports in Java with access database  Hello Sir How to Create Reports of Any Type using Java when i submit data is stored in the MS access database,but when I click on PRINT Button then it will display it into either Text 

Java Technology Tutorials

Java count files in a directory
Java count files in a directory In this section, you will learn how to count only files in a directory. You have learnt various file operations. Here we are going to find out the number of files from a directory. You can see 

Java Beginners

File copy from one directory to another in java
directory in Java. I have to write a program in my application for copying one file... for copying the file from one directory to another directory in Java...File copy from one directory to another in java  I am trying to find 

Java Beginners

Create and Show Wordpad File on JButton Click - Java Beginners
Create and Show Wordpad File on JButton Click  Hello Sir I want to create wordpad or word document on JButton Click Event.which contains data which... directory = fs.getRoot(); directory.createDocument("WordDocument", new 

Java-Tutorials

How To Create a New File
store String, characters, numbers etc. In Java to create a File for storing... in UNIX or, ' \\ ' used for specifying the root directory in Windows... which will demonstrate you about how to create a new file in Java 

General

Get current working directory in Java
Get current working directory in Java In this section we will discuss about how to get the the current working directory in java. Current working directory means the current working directory where java program execute. In java 

Java Technology Tutorials

Check if the directory is empty or not
Check if the directory is empty or not In this section, you will learn how to check if the directory is empty or not. Java IO package works with both files and directories. Here we are going to check whether directory is empty 

Programming Tutorials

EJB directory structure
given is the standard directory structure of the Enterprise Java Bean application... EJB directory structure       The tutorial is going to explain the standard directory structure of an EJB 

Java Tools

Checking Directory existence on Ftp Server
In this section, you will learn how to check existence of a directory on the server by using java 

Java Beginners

Linux installation
Linux installation  I want to install linux for generally purpose functions,which linux[fedora , ubunto,centos etc ]should i install.In my pc there is already windows,How much the linux will effect my windows & data in C 

General

We are providing Downloadable Version of K12LTSP Linux
K12LTSP Linux Now Available Linux K12LTSP 4.1.0 CD's We are providing...) charges. K12LTSP is based on RedHat Fedora Linux and the LTSP terminal server... file manager Mozilla browser with Java(tm) and Flash (tm 

Free Programming books

Linux Books
; Linux Security for Beginners There is a saying... Linux Books        ... other compilers.    The Linux Administrator's 

General

Java Naming and Directory Interface (JNDI)
Java Naming and Directory Interface (JNDI)       The Java Naming and Directory Interface (JNDI) is a directory service based API to allow the clients to discover and lookup data 

Java Beginners

Java I/O - Java Beginners
Creating Directory Java I/O  Hi, I wanted to know how to create a directory in Java I/O?  Hi, Creating directory with the help of Java...://www.roseindia.net/java/example/java/io/java-create-directory.shtmland run 

General

Rename the File or Directory in Java
Rename the File or Directory in Java   ... a file or directory is renamed. This program illustrates you the procedure... or directory. If you mention the directory (path) with the new file or directory name 

OpenSourceSoftware

Open Source projects
the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell (http... community and is positioned to become the leading choice for development of Linux 

Java-Tutorials

Getting the Current Working Directory in Java
C:\nisha>javac GetCurrentDir.java C:\nisha>java GetCurrentDir Current Working Directory : C:\nisha C:\nisha> Download this example 

Java Beginners

how to Create a media player - Java Beginners
how to Create a media player  hi great friends my name is David.please i need a source code with detailed explanation on how to create a media player mp3 format.I need this urgently please!my E-mail address 

Java Beginners

how can create a jar file - Java Beginners
how can create a jar file  plz any one help me which file can i create the jar file plz give exact command  Hi The basic format... that you want to create a JAR file. * The f option indicates that you want 

Advertisements Advertisements
 

 

 

DMCA.com