Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

Create and Run a Docker Image for Java Application with Packages

I have managed to setup and run a Docker Image for a simple Hello World Java console application, but I am struggling with it when I add packages. I have this working: Folder contents: Dockerfile ...
Jude's user avatar
  • 11
0 votes
1 answer
57 views

Parsing the messages in my local mail file using java

I'd like to parse and filter the messages in my local inbox (e.g: thunderbird) using java. Something like: java MyProgram < ~/.thunderbird/xxxxx.default/Mail/yyyyy/Inbox > statistics.txt As ...
Pierre's user avatar
  • 35.3k
1 vote
1 answer
131 views

Local database connected (no server needed) to Backend with Java for Desktop application

I am working on a project in which i am required to have the backend only local with Java. I finished the fornt end whcih was programmed with framework JavaFxsand and i need to make a backend with a ...
Minari BLIИK's user avatar
1 vote
1 answer
2k views

Redis for Local Testing using Java Jedis Client without a REDIS Server

I am pretty new to redis cache and trying to figure out a way to test my changes (Repositories) for redistribution locally. The idea is I do not have a redis server running locally, I do have it in my ...
Naruto's user avatar
  • 72
-1 votes
1 answer
37 views

how to store last 2 months data in local chache (not in local database) date wish in android in java

Need to store past SEVEN months data in local(not in local database). First I need to store first TWO months date wise data in local. After that if TWO months data exceeds then again need to call api ...
T B's user avatar
  • 221
-2 votes
1 answer
79 views

JAVA instance vs local variable

import comp102x.IO; public class testing { private int x; public testing(int x) { x = x; } public static void main(String[] args) { ...
helloitsme's user avatar
0 votes
1 answer
583 views

In spring boot localhost not taking data when program is running fine on console

I am learning spring boot and trying to built my first application. Program is running fine on console. When I'm trying to add data on localhost page showing error? Alien.java home.jsp AlienController....
Manoj Yadav's user avatar
0 votes
1 answer
158 views

Mediaplayer not getting start in android

I am trying to make an app which is just like a clone of media players. It is accessing media files from external SD card. I have used recycler view to display song list and thereby I am using adapter ...
Rishabh Malhotra's user avatar
1 vote
1 answer
250 views

Depending on Exoplayer modules locally

I want to use Exoplayer locally. I did everything that this link says. But android studio doesn't recognize them as modules! (image below) Exoplayer modules Exo_modules, unable to resolve
Hamed's user avatar
  • 11
0 votes
1 answer
154 views

how to save the content of an input box on electron locally

I would like the contents of what I put in here to save after I click a save button, how would I go about that? Anything I have tried finding online doesn't answer my question. https://i.sstatic.net/...
zerks's user avatar
  • 1
1 vote
0 answers
1k views

Java using VS building with Maven Failed to get sources of local jar files

I have been having some issues with the addition of a local Jar file (genetic) to a Maven project (capacityplan) in VS Code, however so far no sucess, hoping for some pros advices. I have: Installed: ...
DTK's user avatar
  • 115
1 vote
1 answer
2k views

Create a Local Terminal Emulator App in JavaFX

How would I go about creating a local terminal in textarea type of app in javafx. Thank you in advance! try { String[] comm = new String[] {"/bin/bash", "-c", "...
Benjamin Sloutsky's user avatar
0 votes
2 answers
1k views

when we call recursive function repeatedly the local variables get memory only ones or every time in Java?

int fact(int n){ int result; if(n==1) return 1; result=fact(n-1)*n; return result; } So, if i call for fact(3) , for each call result variable will get separate memory in stack? (...
Harsh Kumar's user avatar
1 vote
0 answers
186 views

how we get the country code from region in android

how we get the country code from the region of the device in android. we set the region Australia then get the country code from Australia. after that I set the region Egypt then get the country code ...
Rameo Singh's user avatar
0 votes
4 answers
371 views

Why is this local variable amounting to null in Java?

My goal is to have a String that stores the contents of a file. I literally ripped the algorithm for reading a file from W3 schools (https://www.w3schools.com/java/java_files_read.asp) and simply ...
AdmosJagashvili's user avatar

15 30 50 per page
1
2 3 4 5
13