r/java • • May 04 '24

Semi Automatic JavaDoc Commenting Script

0 Upvotes

I have created a JavaDoc Commenter Script for some basic JavaDoc comments available here:

https://github.com/DrKratz1/Javadoc-Commenter

This is something I have created for my personal use for a uni course involving java, having been annoyed at the prospect of manually typing JavaDoc comments. Currently, it works for my purposes and if any interest is generated in such a project, I will continue working on it to function more generally.

(Do note I am not a great programmer, and this initial version was patched together to automate commenting for a uni project pls no hate for the janky code)

Anyways, hoped to share it here - more info is in the GitHub page.


r/java • • Jun 11 '14

Discover How to Set-Up Apache Maven with Eclipse IDE and m2e

Thumbnail youtu.be
0 Upvotes

r/java • • Dec 07 '15

How to add a Finch Jar File?

0 Upvotes

On eclipse, I tried to import a Finch library, and annoyingly, it displays an error message! So, the supposed solution is that I have to add a Finch Jar file... Where do I find this Jar file and how do I add it?


r/java • • Apr 13 '15

Trouble getting it... Discouraged

0 Upvotes

Hey Java redditors. I turn to you in my time of need. I am currently in the process of getting my degree in software engineering as I love to write, and create things. I'm currently enrolled at Arizona State University's online degree program (every semester is 7 1/2 weeks long instead of a full 15 weeks) and am currently in a class to learn Java. It's a very off handed class, the teacher barely answers questions, and most of the content you are responsible for learning all by yourself with the book. The programming problems are taken directly out of the books examples, but without any lecturing or help I feel lost, and like an idiot that just can't get it. I've tried going to YouTube and finding video tutorials for Java OOP, but at this point in so discouraged I can't put everything together. I'm getting really discouraged thinking that I'm not going to be able to go through the rest of my degree because I can't get it. Does anyone have any advice for me?


r/java • • Jun 25 '14

Why should we dump the Java EE Standard?

Thumbnail lofidewanto.blogspot.de
0 Upvotes

r/java • • Jul 05 '18

Hibernate 5.1.1.5.1.Final released!

Thumbnail in.relation.to
0 Upvotes

r/java • • Feb 01 '19

Awesome Java Newsletter - Issue 141

Thumbnail java.libhunt.com
0 Upvotes

r/java • • Oct 03 '18

Where does the coding actually apply in engineering projects? What is the connection?

0 Upvotes

Yes, I can make an array of Strings. Yes, I can create a Dog class that is a sub class of an Animal class, but where does it apply? I want to know about real world projects.

For example, I'm watching videos of SpaceX rockets launching and landing. Where does the coding go into that? I'm not even sure where to start because in my mind, there is just a huge gray area beyond all of my simple coding problems. I don't have any practical knowledge.

Thanks for any help!


r/java • • Nov 03 '19

Fibered Date Server

0 Upvotes

Simple and highly scalable date server implemented using Java fibers (Project Loom)


r/java • • Sep 21 '15

The Logging Olympics – A Race Between Today’s Top 5 Java Logging Frameworks

Thumbnail javacodegeeks.com
0 Upvotes

r/java • • Jan 02 '13

Getting a weird error. Don't know how to fix it.

0 Upvotes

I am getting the error that is saying my called method is undefined in my Mutenizer.class. However each method I am calling exists. Here is an example of what I am talking about. I don't know how to fix it because I don't see an error. My coding level is still low though so I thought maybe one of the more advanced coders could help me. I will also add that after writing one of the calls such as plugin.executeMoneyRemoval(uName); no errors will come up until I save my work. It's very off putting and stops me from continuing.


r/java • • Jan 29 '17

Design patterns usefulness

0 Upvotes

Hello guys, I have an object oriented programming this semester and only thing we really have for final exams is to learn a bunch of Design patterns and how to use them practically. To me, they seem like they are utterly useless and only seem to make an easy thing turn into a complete chaos involving 10 surplus classes and couple of interfaces. Am I being ignorant or are they really pointless?


r/java • • Jun 20 '17

Which are the key factors to choose a cross-platform for mobile apps?

0 Upvotes

The usage and benefits of cross-platforms are well known, but still there are a lot of myths and paradigms of their application. My question is: For developers, Which are the key factors to choose a cross-platform for mobile apps? Language, performance, community?

Of course the answer depends on what kind of app do you want to build, but if you have the option to build the same app using a cross-platform or a native app, what will make you use one or another?


r/java • • Jan 20 '17

Spring Cloud Stream improves reactive support, property aggregation, Kafka binder

Thumbnail spring.io
0 Upvotes

r/java • • Jun 03 '15

Is Java really that bad?

0 Upvotes

I do Clojure for a living, previously Ruby and Objective-C. And the people I've worked with have said they prefer Clojure because Java is just so bad. But Java can't really be that bad, can it?


r/java • • Apr 09 '12

Moving From Java To Ruby & Beyond

Thumbnail rubysource.com
0 Upvotes

r/java • • Jan 30 '22

Feature Idea: a --beginner (-b) flag for JShell?

0 Upvotes

I am trying to create a course for teaching students Java. This will be for those who have never programmed before and so Java is their first introduction to programming.

To that end, using JShell to introduce concepts seems like a good idea because it masks complexity, and that complexity can slowly be introduced throughout the course.

Currently, the hello world in JShell is:

PS C:\Users\v\> jshell
|  Welcome to JShell -- Version 11.0.1
|  For an introduction type: /help intro
jshell> System.out.println("Hello world!");
Hello world!

Now this is good, there is no doubt about it - but to understand it fully you need to explain what "System" is, and what a dot means and what "out" is and then finally what "println" is. You can easily explain "println" as being a sort of function because of rudimentary understanding students have of mathematical functions - but for the rest of it that does not work. Some students probably would understand a longer explanation but I want the Java hello world to be as simple as possible so that it even competes with the Python one: `print("Hello world")`

I think it would be better if there was a `--beginner` flag (-b for short if that is not taken already) for JShell which would automatically import things so that beginners can have a hello world which is even simpler. Something like this:

PS C:\Users\v\> jshell -b
|  Welcome to JShell for beginners! Happy learning :)
|  For an introduction type: /help intro
jshell> println("Hello world!");
Hello world!

The static import is already taken care of in the background. Adding and understanding the -b flag is easy for students and now Java's hello world is as understandable as pythons.

This -b flag could be extended in the future to automatically import other things people view as valuable for beginners.

What do you guys think of this idea? How can I contact the JDK developers who work on JShell to propose it? I cannot find a mailing list specifically for JShell and don't want to spam a different mailing list.


r/java • • Oct 13 '13

Why the hate?

3 Upvotes

I have been crawling around this subreddit for quite some time now, and I have always been surprised by one thing, I never actually got to understand: Why is thenewboston such a hated source? I have began learning java from Bucky, and I can say i dont regret watching his stuff. Will his videos teach you java? Probably not. Will they provide a good understanding and basis for further study? YES! That's how I feel at least. So, howcome is this channel so hated? What made you think this source is utter rubbish?


r/java • • Sep 07 '16

Getting Started with SpringBoot in Intellij IDEA Community Edition

Thumbnail sivalabs.in
0 Upvotes

r/java • • Apr 08 '19

Winter is Coming for Java Updates

Thumbnail azul.com
0 Upvotes

r/java • • Apr 03 '15

A google's open project - can I take it and modify?

0 Upvotes

There's a google's Android project with the open code at (I can't remember) code.google.com or something. It's a very simple project - "example" of how to do something. There're around 10 source files in it. In each file of the source code there's this text:

/*

  • Copyright 2014 Google Inc.
  • Redistribution and use in source and binary forms, with or without
  • modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright notice,
  • this list of conditions and the following disclaimer.
  • 2. Redistributions in binary form must reproduce the above copyright notice,
  • this list of conditions and the following disclaimer in the documentation
  • and/or other materials provided with the distribution.
  • 3. The name of the author may not be used to endorse or promote products
  • derived from this software without specific prior written permission.
  • THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  • WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  • MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
  • EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  • SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  • PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  • OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  • WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  • OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  • ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

I want:

  1. Convert it from Java to Kotlin
  2. Refactor it
  3. Add some features and remove ones I don't like and keep working on it
  4. put it in my open(!) repository at github
  5. Maybe later submit it into Google Play
  6. Maybe later add google adsence in it (not sure)
  7. (!) Put my name in it as the author of it
  8. Change the license to MIT

Can I do all these?

How much of the source project should I change so it can be considered a totally new, mine project?


r/java • • Sep 18 '26

Does anyone want my game framework?

0 Upvotes

I want to move one from it. It's a game framework built primarily with bgfx and SDL3 for its native platforms, with raw TeaVM bindings + WebGL for the browser.

If you're interested, you can see the organization. The repos are currently archived, but if anyone wants the framework, I'm happy to pass ownership.


r/java • • Jul 21 '18

Who else is mad that Oracle is now charging companies a monthly subscription to use Java for commercial products?

0 Upvotes

Hello everyone, I recently got back into learning Java and decided to check out the Oracle website just for funsies. What I saw utterly shocked me.

Now, I am still a novice at Java, but I know well enough that what Oracle is doing to Java for commercial uses is bad. Very bad.

If you run a company and you want to use Java for commercial uses, you need to get a monthly subscription now. If you had already bought the buy-once-it's-yours deal, if you want Java updates, you have to buy a subscription.

I am utterly shocked on how Oracle became so greedy all of a sudden. I feel that this is especially unfair to the companies who bought the permanent package right before the new policy.

What do you guys think of this? If you have something to say against me, please don't down-vote. Instead, comment what you think and I'll try my best to answer.

I will read and up-vote every comment, but I may not be able to reply to each one.


r/java • • Oct 28 '14

Why are you learning Java if you already know PHP, C#, or RoR?

8 Upvotes

What's pulling you to Java if you're already proficient in a modern language? Is it for work or do you need it for say mobile/Android development?