Posts by o1rb • 362 points
12 posts
-
1
votes1
answer324
viewsA: Problem running file . jar created by Intellij
The version you are using to compile the classes (within Intellij) is Java 13, but the version of your JRE (who runs your compiled classes) is Java 8.
-
2
votes1
answer528
viewsA: Error: Could not find or load main class in module Program_reading
The right thing would be main and not valor: public static void main(String[] args) { //restante omitido. }…
-
0
votes1
answer105
viewsA: read a series of json elements (gson)
You need to hit your customers.json: [ { "id": 24828, "nome": "Verona Boyer", "email": "[email protected]" }, { "id": 33144, "nome": "Rosetta Wuckert", "email": "[email protected]"…
-
1
votes1
answer313
viewsA: Java error: Exception in thread "main" java.lang.Arrayindexoutofboundsexception: 0
This type of exercise is usually performed via the command line (cmd, powershell, bash, etc). In the command line, after compiling the class you would do as an example: java Saudacao Gianluca And…
-
0
votes1
answer172
viewsA: How to redirect url - redirect 301 - through a request ? (Httpurlconnection)
Each site handles the request in its own way. When you request for http://www.google.com, some engineers thought: Damn, cool, me have what do you want. Here’s your answer with the content and status…
-
-2
votes2
answers71
viewsA: cut DNA nucleotide string
May make: todosOsNucleotideos = "AATG ATGCGTTAA AGTCAT" apenasATGCGTTAA = todosOsNucleotideos[5:14]
-
2
votes2
answers233
viewsA: Variable is not being found
The while is composed of two code blocks: The block of of, contains its own scope of variables that only exist in it. The block while, in turn, it also has its own scope that exists only in it. The…
-
6
votes2
answers65
viewsA: pq the function add this being interpreted before your scope statement?
This "logical order" makes no difference to Javascript due to the behavior of Hoisting of the language that allows calling a variable or function before declaring it. However, your problem is you’re…
javascriptanswered o1rb 362 -
0
votes1
answer157
viewsA: Doubts about the Caelum POO JAVA booklet
This is simple. When they developed this library(lib), they used the Java 8 version in development. Thus the classes contained in lib were compiled in Java 8 and probably their JRE is earlier. The…
-
1
votes2
answers77
viewsA: If an A class is an implementation of an X interface, will the subclasses of A also be?
Yes and you can prove by creating a positional reference variable that, without any problem, will contain the instance of a class that implements it directly (Cellula), or indirectly (Celulaboca).…
-
0
votes1
answer131
viewsA: Modulepath does not appear in the Libraries tab of my Eclipse, how can I configure it?
The concept of modularization started on the Java platform in the version 9. This way, however much structurally your project is similar to the tutorial you are following, will not be shown the…
-
0
votes1
answer350
viewsA: Error When Putting Application in Production with Command - mvn spring-boot:run
After generating the build which went all right, I am trying to execute the command mvn spring-boot:run Inside a folder I am only with the file comunicacaolegado-0.0.1-SNAPSHOT. jar When executing…