Explore Java on Experts Exchange

Expert Solutions for Your Tech Problems

Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies ...

Read more
  • 101K Content
  • 12K Contributors

Expert Spotlight
Database Administrator / Software Engineer

Over 20 years of experience as an Application Architect/Developer, a Database Administrator, and a PM focusing on performance.

Troubleshooting Solution

Win 10 - Java install issue

8
Trying to install Java version jdk-6u30-windows-i586.  I need this one specifically to get some …
Troubleshooting Solution

Java modifying JsonArray to match model class

byzolf
1
Hello there,

I have this result returned from the db and my code looks, like so
I want to modify the …
Troubleshooting Solution

Thread Synchronization with equal sharing

24
In the code below, four threads are supposed to take turns to buy the ticket. However, it seems that …
Troubleshooting Solution

How to simplify this Java null check using Optional

byltpitt
1
I have this snippet in a project I am writing:And I really do not like it.

How can I make it more …
Troubleshooting Solution

Multi client server Java program

7
I have written a client server programming. Currently, I find that it only allows two clients to go …
Troubleshooting Solution

Multi client server Java program

2
I code a multi client server java program to simulate a multiuser game program. Each client will …
Troubleshooting Solution

Ideas for a polyglot programming project

3
HI,
I have to make a polyglot programming project. Something that runs into at least 1000 or …
Troubleshooting Solution

Notify  users in Java

9
Any idea how to put my code in the server to inform all user whenever any new user connected

Thx



Troubleshooting Solution

ReadLine not returning null while reading a stream

32
Hi,
I am reading a stream from socket like :
This goes into infinite loop or stops at in.readLine() …
Troubleshooting Solution

Creating Class for client data

byzolf
3
Hi there,

I have this data structure coming from the client side and want to save this data in the …
Troubleshooting Solution

Socket program erroring out

17
Hi,
I have the following basic socket program :
The port here is 4545.
Now when i use
Troubleshooting Solution

Writing a server using Sockets that lists all files in the current directory

3
HI,
I have currently a very basic startup code :
This server runs on localhost and port 4545
I opened …
Troubleshooting Solution

How to test the backlog function of ServerSocket class

6
Hi,
I have written a client server simple Java Application.
It uses Java ServerSocket Class
int backLog …
Troubleshooting Solution

How to generate a token from username and password

2
Hi,
What libraries are available to create a Token using the username and password ?
Its like when we …
Troubleshooting Solution

Lost messages while reading a pipefile using java

17
Hi,
I have this weirdest problem...

I am using unix pipefiles to communicate between programs.

The …
Troubleshooting Solution

Synchronized in Java

7
For the code below, why a single thread will use up all the ticketcounter ? I suppose the lock on …
Troubleshooting Solution

Hacking using Nikto and how to prevent it

3
Hi,
Recently there is a case where one of the servers of company was hacked. (Its a startup)
I dont …
Troubleshooting Solution

Hiding urls in the Network panel

4
Hi,
consider a domain example  xyz.com whenever this opens there are several requests that are sent …
Troubleshooting Solution

Websockets in java

1
Hi
What is a websocket ?
Is it something specially related to java
And why it's used.
As per my current …
Troubleshooting Solution

Integrity violation Exception in SQL

3
HI,
I am getting the following error while running my code -

But what i understand by …

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more