Questions tagged as 'java'

1
answer

Choose an "x" file inside a directory in java

So I'm doing a project and in it I would have to fetch some keywords in .txt files within a certain directory, except that the name of those files does not follow a pattern and my program would have to read 1 by 1. I would like to know if there i...
asked by 15.05.2017 / 16:25
0
answers

execute CMD command through JAVA

I'm having trouble running a command in CMD through JAVA. This command is executed by a .jar that is inside a directory "C: \ CopyUtility \ CopyUtility.jar." This is why I need to enter this directory and execute the command. For this I am us...
asked by 08.05.2017 / 01:40
0
answers

stack overflow problem what to do to fix it, improve performance, Java?

I know that the stackoverflow is given by the memory overflow but I'm with it in java and I do not know a way to give performance so that it does not happen. I'm doing a software to calculate a linear programming simplex, so I have to fiddle wit...
asked by 13.05.2017 / 08:08
0
answers

Encrypt password in groovy

I am developing an application that will have a login screen that will be based on data (user, password) already saved in a MySQL database, / em> that was used the first time to encrypt the user's password to validate if the user who is trying...
asked by 10.05.2017 / 22:33
1
answer

Saving result in txt file

How would I save the output of the program to txt file? in the example I call cmd and ask you to do something, I wanted to save the result to a text file. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamRea...
asked by 30.04.2017 / 23:38
1
answer

Working with Generics

First, the task:    Create a new Map class, now using the name SortedMap. She must have   the same methods of the Map class of the previous task, and accept as   type Key type K that implements the Comparable interface. The array   of key pai...
asked by 19.04.2017 / 19:48
1
answer

Put dynamic theme PrimeFaces [closed]

I have two templates in my web project. I want to use a different PrimeFaces theme for each template. How do I do this? No web.xml , when I put the theme of PrimeFaces it changes to all templates, but I want each template to have a t...
asked by 08.05.2017 / 19:56
1
answer

Deploy Heroku Maven project with multiple modules

I have a Maven (web) project consisting of a packer project ( packaging = pom ) and several modules. I want to deploy this project in Heroku. Questions: Where should Procfile be? In the wrapping project or the web project?...
asked by 08.05.2017 / 21:45
0
answers

Foreign Key Ireports: java.lang.ClassNotFoundException: br.com.tkcsapcd.model.bean.ProjectHome

I have an error compiling the report in Irepor, the first time I compiled it, however, when I closed Ireports 3.7.3, and opened again I tried to compile the error below: Compiling to file ... C: \ Users \ Josue \ Desktop \ Report_Ireport \ te...
asked by 09.05.2017 / 08:58
0
answers

Configuration in WebView

Good afternoon, I have an application (in xamarin for android) where inside it opens a webview in a link of a course platform that I have ... however there is a big difference between me opening this platform in my webView and in one browser lik...
asked by 08.05.2017 / 17:54