LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2004, 11:08 PM   #1
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
javac


I can't run apps compiled with javac.

Sample Program tha will not compile:

public class foo
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}

#javac foo.java
(compiles)
#java foo.class
Exception in thread "main" java.lang.NoClassDefFoundError: foo/class

I appoligize a head of time if this is very obvious it' 11 0' clock and my projects due tomorrow.
 
Old 10-05-2004, 11:24 PM   #2
Stranger
Member
 
Registered: Feb 2004
Posts: 38

Rep: Reputation: 15
//#java foo.class

#java foo
 
Old 10-05-2004, 11:46 PM   #3
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
wow thanks a lot. My brain shuts down at 11.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
javac and jikes tuxulux Linux - Newbie 3 01-23-2005 08:38 PM
javac not working nedian123 Programming 1 12-15-2004 11:19 AM
javac rehadt 9.0 confuzzled Linux - Software 11 07-21-2004 02:08 AM
javac linuxRules Linux - General 3 05-23-2002 08:45 AM
javac linuxRules Linux - General 0 05-21-2002 10:15 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration