Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33517

Re: java Environment in Manjaro Linux

From ruben <ceo@iran.gov>
Newsgroups comp.lang.java.programmer
Subject Re: java Environment in Manjaro Linux
Date 2016-01-22 21:10 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <n7u5sm$lus$1@reader1.panix.com> (permalink)
References <n7tic6$rbh$4@reader1.panix.com> <n7u4bq$6d5$1@dont-email.me>

Show all headers | View raw


On Fri, 22 Jan 2016 20:44:42 +0000, Martin Gregorie wrote:


> You don't show how you compiled the source file.
> 

with javac

> 
>> this works however:
>> 
>> [ruben@localhost cs664s16]$ java helloworld Bonjour le monde !
>> 
> In that case helloworld.class, as output by the compiler, must be in
> CLASSPATH somewhere.
>
yes

 
> what does "ls" show when run in the directory holding helloworld.java?
>

 [ruben@localhost cs664s16]$ ls -l
total 20
-rw-r--r-- 1 ruben users 432 Jan 22 10:30 helloworld.class
-rw-r--r-- 1 ruben users 127 Jan 22 10:30 helloworld.java
-rw-r--r-- 1 ruben users 430 Jan 22 10:46 Main.class
-rw-r--r-- 1 ruben users 173 Jan 22 09:43 Main.java
-rw-r--r-- 1 ruben users  28 Jan 22 08:47 README.md

> what does "sudo updatedb; locate helloworld.class" show? Be patient: it
> make take a few minutes to run if you haven't run updatedb recently.

locate/updatedb will not search my home directory, in my setup, 
regardless how often it runs


[ruben@localhost cs664s16]$ find /home/ruben/ -iname "helloworld*" -print
/home/ruben/src/grad_school/compiler/cs664s16/helloworld.class
/home/ruben/src/grad_school/compiler/cs664s16/helloworld.java
/home/ruben/.cpan/build/Perl6-Pugs-6.2.13-PTKdk7/ext/WTemplate/examples/
helloworld.tpl
/home/ruben/.cpan/build/Perl6-Pugs-6.2.13-PTKdk7/ext/WTemplate/examples/
helloworld.pl
/home/ruben/.cpan/build/Perl6-Pugs-6.2.13-PTKdk7/misc/pX/Common/AST-
Design/Perl5/helloworld.in
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/152/0/.cp/cheatsheets/HelloWorld.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/152/0/.cp/cheatsheets/HelloWorldSWT.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld-composite.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld/helloworld-feature.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld/helloworld-create.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld/helloworld-install.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld/helloworld-extension.xml
/home/ruben/.eclipse/
org.eclipse.platform_4.4.2_1543616141_linux_gtk_x86_64/configuration/
org.eclipse.osgi/190/0/.cp/cheatsheets/helloworld/helloworld-update.xm

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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