Questions tagged as 'java'

0
answers

execute .Jar with administrative privileges (strange errors)

As this is a .jar file, to run it with administrative privileges, I ran the Windows Command Prompt as an administrator (with the command java -jar filename.jar) and got the following error messages . java.lang.Exception: error loading library...
asked by 26.07.2017 / 22:23
1
answer

How to reference an object from one Activity to another?

Good evening, I'm developing a multi-button app, where you can drag a button and drop it to a certain place already defined in the application, and each button has to open another screen with a different animated image (GIF) that you have with t...
asked by 27.07.2017 / 03:07
0
answers

Update Hibernate

The situation is as follows, when you put the <property name="hibernate.hbm2ddl.auto" value="update"/> property, nothing else works, no query works anymore. the log always ends with : jul 27, 2017 8:28:18 PM org.hibernate.resource...
asked by 28.07.2017 / 01:33
1
answer

Insert with "for" in a linked list

I'm having a question, the teacher asked me to insert elements in the linked list using "for" but I'm having difficulty, the class that creates the node is working perfectly and the part that I was able to develop was that nullPointException whe...
asked by 26.07.2017 / 19:22
2
answers

Error trying to run Eclipse: Java was started but return exit code = 13

After having HD changed, I downloaded and tried to run the eclipse and it returned the error: Java was started but return exit code =13 What is causing this error?
asked by 05.11.2014 / 00:11
1
answer

Error while trying to edit a record: componentp: selectManyCheckbox / failed to initialize a collection of role:

Hello everyone, I have not yet experienced java and would like help. I am mapping SEVERAL lists with @ManyToMany (cascade = CascadeType.ALL) and I'm getting the following excpetion when I try to EDIT a record in the DB: ago 10, 2017 6...
asked by 11.08.2017 / 00:16
1
answer

Error while validating the android Studio field

Good morning, I have the following error: When trying to validate my fields by clicking the register button, it does not take any action .. I am new to android and would like help. Thank you. package com.example.eduardo.jfdigital; impo...
asked by 26.07.2017 / 20:38
1
answer

I think my table is not being created: no such table?

I'm trying to do a check to see if there is anything inserted in the table, but it always gives the error on this line saying there is no such table. My database: package comviewzonazul.google.httpssites.zonazul.infraestrutura; import andr...
asked by 11.08.2017 / 01:00
1
answer

Return from JSON array

My JSON returns more than one number. How do you get everyone and not one? I would like to set the return to TextView . How to make it return all the values and not only the first? JSONObject json = new JSONObject(result); JSONArray...
asked by 30.07.2017 / 15:59
0
answers

Sorting a SortedMap by object attribute

Good afternoon fellow programmers on duty. I'm developing an application that creates from a formary through the information contained in a tabulato.txt file. I was able to develop all the routine of creation of the formulary, now I must order i...
asked by 30.07.2017 / 21:18