r/javahelp • • Sep 06 '26

Unsolved Java is both installed and not installed on my computer. I want it to be not installed.

0 Upvotes

Command Prompt shows I have Java installed:

C:\Users\Drew>java --version
openjdk 21.0.6 2025-01-21 LTS
OpenJDK Runtime Environment Temurin-21.0.6+7 (build 21.0.6+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (build 21.0.6+7-LTS, mixed mode, sharing)

Windows control panel says I don't have java installed. Java is not listed as a program when I go to uninstall it.

I would like to uninstall java, how do I do that?


r/javahelp • • Oct 30 '25

Should i learn Java?

9 Upvotes

Well, i want java to depelop apps on android, but is it a good choice? Is java dying or not? I know many things in C++, but its hard on android... Whats your oponion? Should I learn Java, and will it be good in the future?


r/javahelp • • Aug 11 '26

Solved Is an IDE absolutely needed for java development?

9 Upvotes

Hello.

Edit: I've decided it's probably best to use an IDE either way.

Whenever I search for the best Java compilers, I've only founds sites listing the best IDE.

Is there a way to keep java development minimal? Can I just use vim and a java compiler like you can with C?

I'm very inexperienced when it comes to Java.

Thank you in advance.


r/javahelp • • Oct 01 '24

Starting with Java

1 Upvotes

Hello everyone, I am about to begin learning Java. Please recommend the best resources such as book, courses, etc., so I can start with Spring Boot.


r/javahelp • • Sep 25 '24

Should I refuse a job offer just because they use mainly reactive?

0 Upvotes

Hello, I got a good job offer, high pay, but they use java reactive a lot. Now, I've another job offer, more classic java/spring stack, less pay.

I have no experience with java reactive, so I will have to learn it, my worry is that I won't be able to and therefore fail at the job, but more importantly that I will work in an obsolete paradigm and in a few years it will be hard to get a job, with virtual threads superseding reactive.

Any thoughts?


r/javahelp • • Apr 13 '24

Can you become a really good Java developer if you don't learn how to manually create beans?

1 Upvotes

So I've been able to do a lot of personal applications without manually creating beans in XML files. In the "real" world, are you somehow forced or you need to know how to manually create beans in XML files? I've been able to get by with just the annotation way of marking classes and objects as Spring Beans. Would love to hear everyones input for this.


r/javahelp • • Sep 03 '18

I have a job interview as a Junior Java Developer in 24 hour. What is the best set of interview questions?

1 Upvotes

I want to be as prepared as I can, what is your advice?


r/javahelp • • Nov 04 '15

Ticket price help

1 Upvotes

I'm stuck on how to write a simple code for setting ticket prices ...I have an adult ticket which is double that of a child ticket.

Just want to know how I go about writing it.

Thanks


r/javahelp • • Jan 12 '19

I'm not a programmer. Java crashes upon install. I can't open jar files.

1 Upvotes

Is this the wrong subreddit? Undoubtedly, and I'm sorry about that, I just can't find a java general help forum. Googling the problem leads me to minecraft threads or mute youtube videos from 2008.

TL;DR I want Java to install properly so I can use these jar files I got.

Like I said, not a programmer, so I don't really know where to start on the problem except to just spin my tale of woe from the beginning. Bear with me, I'll try and keep it short.

Got a new computer. Win7, 64 bit, fancy n nice. I use some jar programs like Framerate Limiter 0.2, so I installed Java so I could start using them. The installer tells me it installed successfully, but seconds later a window opens telling me Java SE Binary has stopped working. In the details, it tells me APPCRASH and the name of the java installer.

I try googling this, I get lead to nothing but minecraft support threads. Trying to run the jars gives me "Application Error: Unable to launch the application" and in the "More Information" window, under "error: could not parse launch file. Error at line 1" the "launch file" tab is... Filled with garbage. Black diamonds, random letters and symbols, the plus sign... Clearly not good, and really hard to articulate into a search engine.

I tried uninstalling and reinstalling Java. I tried installing the 32 bit java. I didn't get the "Java Binary has stopped working" problem, but then my jar files wouldn't open at all and I couldn't manually force them through "open with" because it only showed windows media center. Uninstalled everybody. Reinstalled Java. APPCRASH. The cycle begins anew.

Any and all help is appreciated, and I'll do my best to follow along and supply any more information required, but bear in mind I am very dumb. It'll take a few tries.


r/javahelp • • Jan 18 '21

How do we install Maven in Eclipse?

1 Upvotes

Can someone please give me a step by step imstruction of how to install maven in eclipse?


r/javahelp • • Jan 30 '13

Help please!

1 Upvotes

I keep getting an error stating "error: bad operand types for binary operator '-' " I don't know how to fix it. Here is my code:

/* Programmer name: Corey Kapanka Project name: Course, day and time: CIS1500, Wednesday 11:00AM Date of completion: 1/29/13 Purpose: Prints amount paid for stock, amount stock sold for, amount paid to stock broker when bought and sold, and the profit made*/

public class Stock { public static void main(String[] args) { int AmtStock; //Amount of Stock bought double PriceBought=32.87; double PriceSold=33.92; double AmtBroker=.02;

AmtStock=1000;

System.out.println("Joe paid $"+ AmtStock * PriceBought +" for the shares of stock.");
System.out.println("Joe sold his stock for $"+ AmtStock * PriceSold +".");
System.out.println("When Joe bought his stock he paid his broker $"+ AmtBroker * (AmtStock * PriceBought) +".");
System.out.println("When Joe sold his stock he paid his broker $"+ AmtBroker * (AmtStock * PriceSold) +".");
System.out.print("Joe made $"+ ((AmtStock * PriceSold) + (AmtBroker * (AmtStock * PriceSold)))-((AmtStock * PriceBought) + (AmtBroker * (AmtStock * PriceBought)))+".");
} //end method main

} //end class Stock


r/javahelp • • May 02 '19

Eclipse can't find javafx

1 Upvotes

The import javafx cannot be resolved

AAAAAAAAAAAA wat do?


r/javahelp • • Jun 18 '24

JAVA FOR BACKEND

1 Upvotes

HI I Know data structures such as tres, hashtables, linked list, stocks. And I want to learn java for backend. I already search a road map Can you please recomend me proyects to do? Proyects other than cruds


r/javahelp • • Oct 12 '22

Help me understand int,float,double division.

0 Upvotes

r/javahelp • • Dec 29 '15

i dont know why this program doesn't work

0 Upvotes

hi all

i am a beginner with java and made this program. but i don't know why it doesn't want to work

here is the code

Slimer2001


r/javahelp • • Oct 19 '18

I would like to use AND, OR and NOT Logical Operators

0 Upvotes

This is not really a help question, but my post was rejected from /java and it said I should try posting it here.

I have a silly wish list item for the Java Language: (I"m sure someone can tell me why this is a bad idea)

I would like to be able to use AND, OR and NOT instead of (well.. really in addition to) &&, || and !.

I just find it a bit more readable.

I would like to be able to write:

if (not person.isRedditFan() and person.isLessThan21())      doSomething(); 

Instead of:

if (!person.isRedditFan() && person.isLessThan21())      doSomething(); 

r/javahelp • • May 28 '22

I need help.

0 Upvotes

am trying to run an equation in java, how do I display y=answer?


r/javahelp • • Apr 29 '22

Internship programm at 15

1 Upvotes

Now I'm currently 14 but in summer I will be 15. Is it possible to get into some programming internship programm , if I have some coding skills( +1-2 months to learn) and I am ready to go through it without getting paid?


r/javahelp • • May 24 '22

Solved I suck at java programming

1 Upvotes

So I'm in a basic java programming class, I've payed attention and I don't know what I am doing at all and we have started our finals... So I need some help. This is what I need to do:

For the first part of this project, you will use input, and output to ensure that your program can correctly receive two items in one line. Recall that a command consists of two items, a number and a character, as follows: 12.34 +

We can use Scanner's nextDouble() method to extract 12.34. Unfortunatley, the Scanner class does not have the method nextChar() to extract a character. To solve this problem, we can use the method nextLine() instead. The Scanner's nextLine() method returns a String. To exract a character from a String, we can use the String's charAt() method.

For this part, simply write a program that asks a user to enter a number, a space, and a character, and display what the number and character the user entered is as shown below:

Enter a number, a space and a character: 12.34 S

The number is 12.34

The character is S

I know this is a lot (I think, someone in my class did it in like a few minutes) but I absolutley suck at java programming.

Edit: Just so you know I have posted my code in the comments


r/javahelp • • Apr 25 '16

Quick complaint about this. keyword.

1 Upvotes

Is it just me or is this. the most counter intuitive keyword in java. When I see this. I think about THIS variable when in reality I am referring to THAT variable that is class level. End of complaint.


r/javahelp • • Mar 05 '14

What's the best IDE for Java?

1 Upvotes

r/javahelp • • Feb 25 '14

Need Help with my Java Project!

0 Upvotes

Can someone help me create a program that can prompt the user to input numbers until two even numbers and two odd numbers have been entered, and add the first two odd numbers and multiply the first two even numbers? Thanks

Sample output#1:
Enter number: 1
Enter number: 4
Enter number: 7
Enter number: 2
Sum of odd: 8
Product of even: 8

Sample output#2:
Enter number: 5
Enter number: 1
Enter number: 8
Enter number: 7
Enter number: 3
Enter number: 10
Sum of odd: 6
Product of even: 80

EDIT: I actually finished it before reading any of the comments.


r/javahelp • • Aug 24 '21

Codeless Is VSCode or Eclipse better as an IDEA replacement?

0 Upvotes

I am on my way into a new job in which I’ll have to use a Remote Desktop to do my work. That’s okay. But that means I won’t get an IDEA license for my private stuff.

I sometimes do some programming, but not to the extend that buying a license for my stuff would make a lot of sense. I mainly do Spring Boot and Angular projects.

So I was thinking about using Eclipse. But to be honest I am not sure how “alive” it is when looking at IDEA an VSCode.

I am not quite sure which is better for Java related programming: VSCode or Eclipse? What are your opinions?


r/javahelp • • Feb 27 '19

Homework Help me to fix the error!!!!

0 Upvotes

import java.util.ArrayList;
import java.util.Scanner;
public class Main {

String firstName;
String lastName;
String phoneNumber;
String email;
public Main() {

this.firstName = "";
this.lastName = "";
this.phoneNumber = "";
this.email = "";
}

public Main(String fName, String lName, String phone, String email) {

this.firstName = fName;
this.lastName = lName;
this.phoneNumber = phone;
this.email = email;
}

public void setFirstName(String fName) {

this.firstName = fName;
}

public void setLastName(String lName) {

this.lastName = lName;
}

public void setNumber(String phone) {

this.phoneNumber = phone;
}

public void setEmail(String email) {

this.email = email;
}

public String getFirstName() {

return this.firstName;
}

public String getLastName() {

return this.lastName;
}

public String getNumber() {

return this.phoneNumber;
}

public String getEmail() {

return this.email;
}

public static void main(String args[]) {

ArrayList<Main> Book = new ArrayList<Main>();
while (true) {

System.out.println("Contact book menu");
System.out.println("-------------------------------------------");
System.out.println("Press 1: Add a new contact.");
System.out.println("Press 2: Display all contacts.");
System.out.println("Press 3: Seach contacts.");
System.out.println("Press 4: Delete a contact.");
System.out.println("Press 5: Exit menu.");
Scanner keyboard = new Scanner(System.in);
int input = keyboard.nextInt();
switch (input) {

case 1:
Main A = new Main();
System.out.println("Enter the first name: ");
A.firstName = keyboard.next();
System.out.println("Enter the last name: ");
A.lastName = keyboard.next();
System.out.println("Enter the phone number: ");
A.phoneNumber = keyboard.next();
System.out.println("Enter the e-mail address: ");
A.email = keyboard.next();
break;
case 2:
for (Main A : Book)
Â;
{

System.out.println("Name: " + A.firstName + " " + A.lastName + "\nPhone: " + A.phoneNumber + "\nE-mail: " + A.email);
}
break;
case 3:
System.out.println("Enter the contact name you wish to search for: ");
 Â;
 Â;
 Â;
 Â;
String str = keyboard.next();
 Â;
 Â;
 Â;
 Â;
Â

Â;
 Â;
 Â;
 Â;
 Â;
 Â;
Â;
for (Main A : Book)
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
{

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
if (A.firstName.indexOf(str) != -1) Â;
{

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
System.out.println(A);
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

if (A.lastName.indexOf(str) != -1) {

 Â;
System.out.println(A);
} else if (A.email.indexOf(str) != -1) {

 Â;
System.out.println(A);
} else {

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
System.out.println("No results.");
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

break;
case 4:
System.out.println("Enter the contact name you wish to delete: ");
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
for (Main A : Book)
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
{

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
if (A.firstName.indexOf(str) != -1) Â;
{

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
System.out.println(A);
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

else if (A.lastName.indexOf(str) != -1){

 Â;
System.out.println(A);
} else if (A.email.indexOf(str) != -1) {

 Â;
System.out.println(A);
} else {

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
System.out.println("No results.");
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

System.out.println("Are you sure you want to delete? (y/n)");
String deletion = keyboard.next();
if (deletion == "y") {

 Â;
 Â;
 Â;
Book.remove(A);
} else {

 Â;
System.out.println("The contact(s) was not removed.");
}

 Â;
 Â;
 Â;
 Â;
 Â;
 Â;
}

break;
 Â;
 Â;
case 5:
break;
 Â;
}

}
}
}