LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 11-07-2005, 02:30 AM   #16
vireshwali
Member
 
Registered: Sep 2005
Posts: 67

Rep: Reputation: 15

Hi,
good for some basic starting, but for those intresed in a dive in the sea of java programming on linux go to tutorials at sun.java.com and start hunting.

It is best to download jdk for linux from sun and code in vi/vim/gvim and compile and run from console.

Beginners shall have a great time deciphering the myteries. Do also remember to view the API of your specific jdk version download at sun. The API is what i will call the java programmers bible.


Happy learning.
 
Old 02-24-2006, 05:21 AM   #17
rock_till_456
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by lmellen
I've worked all the example programs up to class moon.The class moon program won't compile. I get:

ex6.java:16: cannot resolve symbol
symbol : method readline()
location: class java.io.BufferedReader

Then there is a ^ under the first new in the following line:

String strA = new BufferedReader(new InputStreamReader(System.in)).readLine();

Just wondering why it won't compile. No big deal, but a reply would be interesting.-- Thanks- Larry (I haven't been able to solve this problem)
--------------------------
first have you copy pasted teh moon d\code and tried it out bcos it works i have tried that with jdk 1.5 version it compiled perfectly

if the error is still there just try to resolve the method bcos readline() is a method availbale in BufferReader , so check first check by just calling by BufferReader object
 
Old 06-04-2007, 07:28 AM   #18
abraham lemma
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
hi

linux documentation
 
Old 11-12-2008, 03:54 AM   #19
sugitha
LQ Newbie
 
Registered: Nov 2008
Location: chennai
Posts: 2

Rep: Reputation: 0
Very good article. As a learner of Java, this is helpful for me.
 
Old 11-24-2008, 10:37 PM   #20
sugitha
LQ Newbie
 
Registered: Nov 2008
Location: chennai
Posts: 2

Rep: Reputation: 0
This will be helpful for run an applet program
appletviewer filename.html
 
Old 04-01-2009, 12:18 PM   #21
mikese
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Anyone building apps for IMG networks should check out diameter IMS it's used in so many apps. I just started building with it.
 
Old 10-07-2009, 05:58 PM   #22
vjmac
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by then View Post
Hi

Well written article , bad formatting though. Had a tough time reading.

A couple of spaces and some para-breaks would be welcome.

regards
theN
When's the update?
 
Old 12-19-2009, 11:57 AM   #23
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Rep: Reputation: 0
are java commands in linux different from the java commands in windows?
 
Old 01-10-2010, 10:06 AM   #24
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by AeonX View Post
are java commands in linux different from the java commands in windows?
99% of the time, no, however there may of course be certain situations where a program has been written for linux which will not compile/run on windows because some platform-specific code exists - it could be something as simple as a file location - a hard-coded /home/me/file.txt ain't going to get you far in windows.
 
Old 01-26-2013, 04:45 AM   #25
SusanRaj
LQ Newbie
 
Registered: Jan 2013
Location: India
Posts: 1

Rep: Reputation: 0
How to implement User Authentication using servlet filters ?

Read my tech blog for User Authentication using servlet filters

Last edited by SusanRaj; 01-26-2013 at 04:47 AM.
 
Old 08-18-2013, 08:18 AM   #26
Sudy9
LQ Newbie
 
Registered: May 2011
Location: Pune
Posts: 2

Rep: Reputation: 0
Thumbs up

Great article for the java begineers
 
Old 08-03-2014, 05:48 PM   #27
danliston
LQ Newbie
 
Registered: Feb 2012
Location: South Dakota
Distribution: Fedora, CentOS, Oracle, OpenSolaris
Posts: 18

Rep: Reputation: Disabled
Match correction to triangle example code

When you test b == 0, you declare the b statement be b = a - c instead of b = c - a

Considering a squared plus b squared equal c squared, C is always larger than A or B,
wouldn't this fact mitigate the need to test either A or B for a negative value? The
text book example of a right triangle is a=3, b=4, c=5; squared, 9=25-16 and 16=25-9

Any number squared becomes a positive. You only subtract a smaller square from a
larger square. It should be impossible for the difference to ever be a negative
value.

Last edited by danliston; 08-03-2014 at 05:49 PM.
 
Old 08-11-2014, 01:45 PM   #28
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by danliston View Post
Considering a squared plus b squared equal c squared, C is always larger than A or B,
wouldn't this fact mitigate the need to test either A or B for a negative value?
There is nothing in the code that constrains C to be the hypotenuse (the side opposite the right angle, i.e. the longest side). Suppose the user enters a=5, c=3.
 
Old 03-27-2020, 11:45 PM   #29
JDoes
LQ Newbie
 
Registered: Mar 2020
Location: Via Lactea
Distribution: Ubuntu, Kali, CentOS, Mac OSX, Windows 10
Posts: 3

Rep: Reputation: 1
FFW To the future!!!

I have been learning Java through Udemy lately. Anyone have a recommendation for applying Java to mobile development?
Im really loving this Java stuff a lot, and looking forward to learning and applying it even more!!! Maybe I can develop
my own mobile app to help my students learn physics!!!
 
  


Reply



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
DISCUSSION: HOWTO: Install Sun's Java VM in Fedora Core 2 kevcart3 LinuxAnswers Discussion 9 10-28-2005 02:34 PM
DISCUSSION: From beginning to end: ProFTPD MasterC LinuxAnswers Discussion 5 09-24-2005 11:21 PM
Just the beginning.... woodworker97 Mandriva 5 05-20-2005 01:53 AM
very beginning vegpl Linux From Scratch 13 06-26-2004 11:56 AM
Beginning help with Java darin3200 Programming 19 09-11-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 08:35 PM.

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
Open Source Consulting | Domain Registration