UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#8344 - 03/02/03 07:09 PM Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
alright, this is it. i cant seem to find the java program that i recently installed. by the way, thanks pergesu for the tutorials but i cant use them because i cant get the program runnin. if ne one knows whats wrong or what im not doing correctly, please help

much thanks,
Silent Sniper

Top
Sponsored Links
      
#8345 - 03/02/03 07:23 PM Re: Having trouble with java
pergesu Offline
UGN Elite Poster

Registered: 03/14/02
Posts: 1136
Loc: Pimpin the Colorizzle
Um, what do you mean? You can't find the java compiler? You can't find a program written in Java? You can't find an IDE you installed? What can't you find?

Top
#8346 - 03/02/03 08:30 PM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
sry about that. do i use notepad to write the program and open it in java? what do you need to write the programs? i cant find out where you can write java programs at. that is my question.

Top
#8347 - 03/03/03 12:43 AM Re: Having trouble with java
pergesu Offline
UGN Elite Poster

Registered: 03/14/02
Posts: 1136
Loc: Pimpin the Colorizzle
You just need a text editor. Write the program with any old editor, so notepad, and then compile it.

Top
#8348 - 03/03/03 05:03 AM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
lol dont get aggrivated with me please. im such a newbie. so when i finish the program where do i go to compile it cause i cant find the compiler in the java software i downloaded.

once againi appreciate your help very much,
Silent Sniper

Top
#8349 - 03/03/03 08:20 AM Re: Having trouble with java
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
You compile it through DOS, or at least I did. check this link...

http://www.javaspot.net/articles.php?action=display&cat=1

this is Pergesu's site. Our resident java guru. His tuts are awsome. I am sure he will also help you more. But these tuts are what you need. Be sure to thank him and tell a friend.
_________________________
My New site OpenEyes

Top
#8350 - 03/03/03 01:24 PM Re: Having trouble with java
pergesu Offline
UGN Elite Poster

Registered: 03/14/02
Posts: 1136
Loc: Pimpin the Colorizzle
Don't worry, I won't get aggravated. I'm not so sure I cover installing the JDK in my tutorial, I probably should. They've got instructions though. If you've already installed it, then most likely you have to set the PATH environment variable in order to do it easily. What OS are you running? I only know how to do it in Win2K, which is probably not what you're using... But anyway, you need to append the directory which stores all the executables (java, javac, javaw, jar) to that environment variable. So look for the directory you installed everything into, which is probably C:\j2sdk1.4.1_01. Then edit your path variable so it has C:\j2sdk1.4.1_01\bin at the very beginning. I have no clue how to do this in 98/ME/XP, so if someone else wouldn't mind telling him how, I'd appreciate it. I gotta run to school :\

Top
#8351 - 03/03/03 01:58 PM Re: Having trouble with java
pergesu Offline
UGN Elite Poster

Registered: 03/14/02
Posts: 1136
Loc: Pimpin the Colorizzle
That link goes over installing the SDK in windows. Has everything you need. Sorry I can't be more specific, but I gotta leave. Let me know if you have any problems.

http://java.sun.com/j2se/1.4.1/install-windows.html

Top
#8352 - 03/03/03 03:22 PM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
ok im totally lost. i dont know what im doing. i set the path and everything but i cant get it to compile i cant find out whats wrong. pleeeeeeeease i need some serious help on java. i might delete the program and start from scratch and see if that might work.

Top
#8353 - 03/03/03 04:14 PM Re: Having trouble with java
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
I seem to rember having some issues when I tryed to learn Java.

Lemme think, First what version of windows are you running?

Second what directory did Java SDK install to?

third post what you type into DOS and what happens.
_________________________
My New site OpenEyes

Top
#8354 - 03/03/03 04:29 PM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
in runnin in windows 98 and i downloaded it to the c drive. then i set the path and tried to compile but it didnt recognize the name

Top
#8355 - 03/03/03 05:48 PM Re: Having trouble with java
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
heh, I mean when you installed it. what is the path to it's folder.

something like

c:\program files\JAVA2.1.1


what is the path to the folder java is in, not your program. I think I had to set the path to the compiler javaw or something like that.


Here are the links when pergesu helped me with your problem...

http://rrfn.promodtecnologies.com/yabbse/index.php?board=11;action=display;threadid=795
_________________________
My New site OpenEyes

Top
#8356 - 03/03/03 09:29 PM Re: Having trouble with java
pergesu Offline
UGN Elite Poster

Registered: 03/14/02
Posts: 1136
Loc: Pimpin the Colorizzle
Have you installed it? Have you run the setup program, and it created a c:\j2sdk1.4.1_01 directory? If you haven't already, do that. Then go ahead and set the path. If you still can't get it working, copy and post the error. But I don't think you've even installed it, so make sure you have first.

Top
#8357 - 03/03/03 09:59 PM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
this is what i did

@C:\PROGRA~1\NORTON~1\NAVDX.EXE /Startup
@ECHO OFF
PATH=%PATH%;C:\jdk1.4.1_02/bin;C:\DOS if not exist toscd001 echo DEVICE=C:\DOS\toscdrom.sys >> c:\config.sys
if exist toscd001 c:\Windows\Command\mscdex /D:TOSCD001 /M:10

tell me if that is correct or do i need to do something diferent

Top
#8358 - 03/03/03 10:37 PM Re: Having trouble with java
Silent Sniper Offline
Junior Member

Registered: 02/28/03
Posts: 21
C:\j2sdk1.4.1_02\bin\javac hello.java
says error cant read hello.java

Top
Page 1 of 2 1 2 >

Moderator:  Infinite 
Featured Member
Registered: 08/21/13
Posts: 1
Forum Stats
2145 Members
46 Forums
33488 Topics
68655 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26651
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 732 Guests and 320 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!