Linux Lite Forums
Learning Java Programming on Linux - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=7)
+--- Forum: Coding (https://www.linuxliteos.com/forums/forumdisplay.php?fid=33)
+--- Thread: Learning Java Programming on Linux (/showthread.php?tid=4284)

Pages: 1 2


Re: Learning Java Programming on Linux - bitsnpcs - 07-26-2017

Hello,
I use the gedit and terminal for the Python book I use, I had a look on Google it says gedit can be used for Java with the terminal.

I think they call it ethical because it is legal like pentesting.



Re: Learning Java Programming on Linux - Homework - 07-26-2017

(07-25-2017, 07:41 PM)justme2 link Wrote: I have no idea if that is the problem, but the text editor I use (Leafpad) has an option to set the required line terminator to CRLF or just LF. I can only suggest trying it as I do not use Java.

Hi justme2, Lite's text editor has this option too but it did not work for me. Thanks for suggesting it though.

(07-26-2017, 12:02 AM)bitsnpcs link Wrote: Hello,
I use the gedit and terminal for the Python book I use, I had a look on Google it says gedit can be used for Java with the terminal.

I think they call it ethical because it is legal like pentesting.

Thanks bitsnpcs, I'll install gedit later this evening and try it out.


Re: Learning Java Programming on Linux - Homework - 07-26-2017

Just realised I made a mistake with the codes while I was re-watching the tutorial and trying out gedit.
The erroneous code:
Code:
Name myName = new Name("Cookie" + "Monster" + "Jr");


The correct code:
Code:
Name myName = new Name("Cookie", "Monster", "Jr");

Programming really puts attention to details to the test.
Thank you to everyone who responded and mulled over this issue (when it's due to my carelessness, sorry!!).


Re: Learning Java Programming on Linux - bitsnpcs - 07-26-2017

Do you find gedit okay for your needs ?

[member=5239]torreydale[/member] told me about gedit

You can use custom templates, I use one, it helped me to like the gedit a lot more as the colours were easier for me, [member=4826]LL-user[/member]  showed me how to install it in this thread  https://www.linuxliteos.com/forums/coding/beginning-with-python/msg29409/#msg29409


Re: Learning Java Programming on Linux - torreydale - 07-26-2017

[member=411]bitsnpcs[/member] is correct.  I don't think Leafpad, the default text editor, is going to be sufficient for coding.  Gedit or Geany (if you need column mode) are going to be better for you.


Re: Learning Java Programming on Linux - Homework - 07-30-2017

[member=411]bitsnpcs[/member] Yes, I've been using gedit for 2 lessons now and the coloured codes are very useful in helping me to differentiate between the texts. I've chosen a darker colour scheme on gedit so it's easier on my eyes. Thanks very much for the recommendation! Big Grin


Re: Learning Java Programming on Linux - bitsnpcs - 07-30-2017

[member=7037]Homework[/member] glad to pass the help along, [member=5239]torreydale[/member] recommended to me.
I also use darker theme, is called monokai-extended. I find the coloured codes very helpful too Smile
Great work, keep up your lessons Wink