Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33511
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail |
|---|---|
| From | ruben <ceo@iran.gov> |
| Newsgroups | comp.lang.java.programmer |
| Subject | java Environment in Manjaro Linux |
| Date | Fri, 22 Jan 2016 15:37:43 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 35 |
| Message-ID | <n7tic6$rbh$4@reader1.panix.com> (permalink) |
| NNTP-Posting-Host | www.mrbrklyn.com |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | reader1.panix.com 1453477063 28017 96.57.23.82 (22 Jan 2016 15:37:43 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Fri, 22 Jan 2016 15:37:43 +0000 (UTC) |
| To | christopher.league@liu.edu |
| User-Agent | Pan/0.140 (Chocolate Salty Balls; GIT e424b98 git://git.gnome.org/pan2) |
| Xref | csiph.com comp.lang.java.programmer:33511 |
Show key headers only | View raw
I'm testing the java developers environment and its not working as I
expected
[ruben@localhost cs664s16]$ cat ./helloworld.java
public class helloworld {
public static void main(String[] args) {
System.out.println("Bonjour le monde !");
}
}
[ruben@localhost cs664s16]$ echo $CLASSPATH
/home/ruben/GNUstep/Library/Libraries/Java:/root/GNUstep/Library/
Libraries/Java:/usr/lib/GNUstep/Libraries/Java:.:./
[ruben@localhost cs664s16]$ java ./helloworld.java
Error: Could not find or load main class ..helloworld.java
this works however:
[ruben@localhost cs664s16]$ java helloworld
Bonjour le monde !
So, I am completely confused. How can it not take the specified file
name to run?
Also, where is the $CLASSPATH set? in the system /etc/profile ? I
should probaly add ./ to the bashrc file?
Ruben
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
java Environment in Manjaro Linux ruben <ceo@iran.gov> - 2016-01-22 15:37 +0000
Re: java Environment in Manjaro Linux Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-01-22 11:16 -0500
Re: java Environment in Manjaro Linux Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-22 20:44 +0000
Re: java Environment in Manjaro Linux ruben <ceo@iran.gov> - 2016-01-22 21:10 +0000
Re: java Environment in Manjaro Linux Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-22 22:25 +0000
Re: java Environment in Manjaro Linux Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-22 23:11 +0000
Re: java Environment in Manjaro Linux Arne Vajhøj <arne@vajhoej.dk> - 2016-01-22 20:45 -0500
Re: java Environment in Manjaro Linux Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-23 11:17 +0000
csiph-web