Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Java Help

 
Post new topic   Reply to topic Printable version
 View previous topic  liar MGB' Post :: Post Php 5 + MySQL (and bonus lvl previews!)  View next topic  
Author Message
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Fri Jan 26, 2007 11:58 pm   Post maybe stupid    Post subject: Java Help Reply to topic Reply with quote

Okay, I have NO idea what this error means. Can any of you help me out? This is for a class, but I have no where else to turn to at 11 in the morning. =\



I'm glad Windows doesn't let me copy/paste from command prompt, that definitely saved me loads of work.

java.PNG - 52.02 KB
File downloaded or viewed 44 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Jan 27, 2007 12:09 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

the JVM couldn't find the specified class in the class path. Make sure the blah.class exists in the class path and that it contains the public static void main() method.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Jan 27, 2007 12:24 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I just put all my .java files in the bin folder, and compile from there. Since I just compiled it, shouldn't the class be right there, too?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sat Jan 27, 2007 12:41 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Right-click inside the command prompt, select Mark. With left-mouse button, click and hold for a selection rectangle. Right-click, Copy.
Back to top
View users profile Send private message Add User to Ignore List Send email
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Jan 27, 2007 1:42 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

That's useful, thanks. I'll remember that.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Jan 27, 2007 7:56 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

The file name and the class name inside the file must be identical, including upper/lower case, look at the R in russell.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Jan 27, 2007 1:42 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

-.- Thanks. I already submitted the assignment, but luckily I didn't have any run-time errors, so it looks like I'll be fine.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Jan 27, 2007 2:58 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Animate wrote:
I just put all my .java files in the bin folder, and compile from there.

Nooooooooo! That's what my programming fundamentals prof told us to do, which is especially gay. Instead, put them in some directory in My Documents or something and set your path to have the java\bin directory in it. If you don't know how to do this, ask.

I think there's an issue with quicktime overriding the classpath and generally being gay. Fix it by typing "set classpath=%classpath%;." (Include the period in the string.) This will make it look in the current directory.

And WTF, you uploading an image that's more than half empty space? icon_confused.gif
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sun Jan 28, 2007 8:02 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well, I remember setting up Python on my computer before and Brain told me to set some kind of path, and to be honest, I never figured out exactly what it was. I know basically what it did, but not how to use it. Also, the path reset every time I rebooted my computer, so I decided it probably wasn't worth figuring out.

Besides, I'm kind of apathetic about the whole ordeal in the first place, I don't really like Java. I hope I never have to code anything complex enough I'll need complex classes, and I end up coming out of that class feeling like it was a waste of my time. If I had my choice, though, I'd end up learning a useless language like Lisp. Which I would really like to learn, I don't know why. I guess it's like wearing designer clothes, maybe it would make me cool.

And about the image... tried to "cut" those parts out, but I guess I just don't know how. I was using MSPaint, and I'd select a group, right click and hit cut, hoping it would do more than just color it white, but it didn't so I decided to upload it as it was. But whatever.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Jan 29, 2007 12:47 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I'm not using XP right now, so I can't give you perfect instructions, but try Control Panel -> System -> Advanced -> Environment Variables. You can edit your PATH permanently there. Just add ";C:\Program Files\Java\jdk1.6.0\bin" to it.

Animate wrote:
And about the image... tried to "cut" those parts out, but I guess I just don't know how. I was using MSPaint, and I'd select a group, right click and hit cut, hoping it would do more than just color it white, but it didn't so I decided to upload it as it was. But whatever.

Click and drag the corner!
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Wed Jan 31, 2007 11:35 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:

Click and drag the corner!


o=

I was going to post an ASCII drawing of a guy with his mind exploding, but it didn't work with this font, and I couldn't figure out how to change it. So, just imagine something really cool....
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 247 page(s) served in previous 5 minutes.

phpBB Created this page in 0.645463 seconds : 37 queries executed (84.2%): GZIP compression disabled