All Questions
155 questions
0
votes
1
answer
95
views
Problem when trying to execute a java file after compiling with UTF8 encoding
i am currently trying to run a java file in the terminal inside the corresponding package, which i created in eclipse (so its not the default package). However, the problem began after i tried to ...
-2
votes
1
answer
154
views
Why does Java execute all files in folder, including closed ones? [closed]
I am writing Java code. I was using the if conditions to read the input. When I tried to test the code, it executes all the files in the folder. I am also using IntelliJ idea.
It executes my current ...
0
votes
0
answers
27
views
Java groovy creating dynamic class object [duplicate]
I have around 250 classes with almost the same functions. The selection of classes is based on the parameter.
The name of the class is customObject(n) where n is 1-250.
Instead of adding 250 if else ...
1
vote
1
answer
165
views
Why can't I run an application or console from within Java?
I am trying to update a 200,000 line program written in Java/Eclipse in 2009.
I imported it to the latest Eclipse/Java, and there are several problems:
the following line (which ran inn 2009) ...
0
votes
1
answer
373
views
Problem with install plugins in Pentaho Data Integration
I have problem with openning and running my sample job that noticing me of missing some plugins: exe_jar_to_variable and job_exe_jar_lib.
Howerver I did search in the marketplace of PDI there was not ...
0
votes
0
answers
682
views
Executing method by yaml
My yaml file is
myYaml.yaml
myVal1: "println(\"Hello Yaml\")"
myVal: "if (1 == 1) println(\"First statement!\") else println(\"Second statement\")"
...
0
votes
0
answers
65
views
Oracle executeUpdate() not responding in Java Servlet
I have two nearly identical codes that Updates multiple jpg file as blob into tables.
Mysteriously..
One works. The other doesn't work.
The one that does not work not just don't work but also Oracle ...
1
vote
1
answer
971
views
Run .jar with Specific. path
I want to run from an diffrent dicrectory a .jar when i use java -jar PATH_TO_FILE it will be executed in the directory where i run the command. How can I say, that the jar will be start in the ...
1
vote
1
answer
412
views
It gives me a white screen when I run this code and the cause of this white screen is the first line in the try block
It gives me a white screen when I run this code and the cause of this white screen is the first line in the try block:
try {
result = task.execute("https://www.hollywoodreporter.com/lists/...
1
vote
1
answer
392
views
executeUpdate() is no working while execute using stored procedure
executeUpdate return 1 but values are not inserted into the table. 'CR_SAVEHBCRPERFORMA ' is the procedure to insert values. output parameter return 1 after execute else 0, here return 0..(some code ...
0
votes
1
answer
606
views
the main startup class is not vaild, main method is missing
As you can see in the title when I try to execute my program to .exe and run it I get this error (the main startup class is not valid, main method is missing)... which is obvious that the main method ...
0
votes
1
answer
480
views
How to run a Java Project in Python?
I have a huge Java Project, which I have to run multiple times and check the output. I am proficient in python, but fairly new to Java and thus I was wondering how to run Java and check outputs in ...
0
votes
0
answers
26
views
Running Multiple statement in Java [duplicate]
I'm trying to code multiple SQL queries statements in Java.
The following SQL Statement Run without a problem in MySQL command line.
SELECT
@dispositivoID := MAX(self_id)
FROM
dispositivo;
...
-1
votes
1
answer
382
views
How to run a jar with external libs
First, I'm working in a linux environment.
Second, I've got one jar file which contains all of my project's classes, including the main, in one directory. Third, I've got all of the project's external ...
0
votes
1
answer
88
views
java step by step compile / execute / debug
I have a small piece of code where I would like to know how the debugger thinks.
/**L05*/ public class Main {
/**L06*/ public static void sp(String a){
/**L07*/ System.out.println(a);
/**L08*/ }
/*...