473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

where 2 place my .java file

12
Hello ,

Presently for compiling a simple java prog i am placing my .java file in

C:---->j2sdk1.4---->bin----->rahana----->my .java progs.

but my friend was suggesting not to keep my .java progs in the above mentioned way,if i dont keep my .java progs in j2sdk1.4--bin ,then what is the other way in which i can place my .java files and compile.

Thanking you
Rahana
Oct 26 '07 #1
5 1572
r035198x
13,262 8TB
Hello ,

Presently for compiling a simple java prog i am placing my .java file in

C:---->j2sdk1.4---->bin----->rahana----->my .java progs.

but my friend was suggesting not to keep my .java progs in the above mentioned way,if i dont keep my .java progs in j2sdk1.4--bin ,then what is the other way in which i can place my .java files and compile.

Thanking you
Rahana
Don't put your files in the Java bin directory (It works but it's kind of ugly). Just put them anywhere you want. Any of your documents folders for example.
All that will be required then is to make sure that the Java bin directory's path is added to your system's PATH variable.
Oct 26 '07 #2
MarkoKlacar
296 Expert 100+
Hi,

I recommend you download eclipse so you don't have to worry about anything.

Cheers
Oct 26 '07 #3
r035198x
13,262 8TB
Hi,

I recommend you download eclipse so you don't have to worry about anything.

Cheers
Good advice, unless you are still learning the basics in which case I advise you to stay away form IDEs (only when you are still learning the basics though).
While we are at giving good advices, throw away that jdk 1.4.XX, go to Sun's download page and get the latest JDK 1.6 and use that.
Oct 26 '07 #4
rahana
12
Don't put your files in the Java bin directory (It works but it's kind of ugly). Just put them anywhere you want. Any of your documents folders for example.
All that will be required then is to make sure that the Java bin directory's path is added to your system's PATH variable.

Hello Sir,thankyou for looking in to my problem and giving answer but sir sorry to say I didn't get u,how can i add java's bin directory path to my System's path variable.
Oct 26 '07 #5
r035198x
13,262 8TB
Hello Sir,thankyou for looking in to my problem and giving answer but sir sorry to say I didn't get u,how can i add java's bin directory path to my System's path variable.
I hope you've read all the replies posted in this thread so far.
How to set the path variable depends on which OS you are using?
So what OS are you using (you'll need to provide the version as well).

When you post your OS version, also post the output when you run

Expand|Select|Wrap|Line Numbers
  1. java -version
from a command promt/shell.
Oct 26 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Mohammed Mazid | last post by:
Can anyone please tell me if there is a class that provides place names in the world? I am trying to implement a Flight system and if there was such a class then it could've contributed towards...
9
by: ALuPin | last post by:
Hi newsgroup users, I have the following java-script: </SCRIPT> </head> <body text='' link='' vlink='' alink='' bgcolor='FFFFFF'> <p> <center><TABLE cellSpacing=1 cellPadding=1...
3
by: Rajesh | last post by:
Hi, I am using iplanet webserver 4.1. I want to call a java class from ssjs file. But I am not getting the result. I have created a java class file and put it in the folder...
5
by: acord | last post by:
Hi, I m getting annoying display problem when placing javascript tags in a html page. Should the javasscript tags placed at the beginning of a html page before anything start? or placed between...
7
by: James Harris | last post by:
My Googling has let me down here - maybe because when it comes to Java I don't really know which type I need! If someone could point me in the right direction I'd appreciate it. My requirement...
1
Nepomuk
by: Nepomuk | last post by:
Hi! I'm working on a project using tomcat and spring. Now I have written a Bean class, which reads an XML-File via Springs XmlBeanFactory, creates a Vector from the collected Information and then...
3
raveendrabikkina
by: raveendrabikkina | last post by:
3087 / 3126 02/25 10:42:08 info Recovering 1 session(s) 3088 / 3126 02/25 10:42:08 warning Deployer Service failed to deploy file:/opt/jrun4/servers/cpbepost/logs/ 3089 / 3126...
1
by: Badboy112 | last post by:
Hi guys where do i place my clearFields method so that when i click to book the 1st room it will not add that text to the second room and so forth here is my code import java.io.*; import...
2
by: slapsh0t11 | last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.