473,544 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
1
1,469
thread by: IvanH | last post Jul 13 '18 by: Andrea1701
Hi I'm trying to lauch linux instance with user data script using the java SDK But i'm getting this error: Forbidden.RiskControl, This operation is forbidden by Aliyun RiskControl system Any idea? This is my code: CommonRequest commonRequest = new CommonRequest(); commonRequest.setDomain("ecs.aliyuncs.com"); ...
1
1,327
thread by: IvanH | last post Jul 17 '18 by: Andrea1701
Hi, I am using the Java SDK for create instance. I want to know how to pass the proxy details in SDK call. I didnt find any documentation regarding passing proxy details in SDK call.
1
1,669
thread by: IvanH | last post Jul 18 '18 by: Andrea1701
Hi, I am using aliyun-java-sdk-core - 4.0.2 and aliyun-java-sdk-ecs - 4.9.1 jar dependencies to access the Alibaba cloud through my java program. Whenever I use - DescribeInstancesRequest to fetch instance details it works fine. But when I use - CreateInstanceRequest for provisioning the instance I'm getting the following error ...
0
1,213
thread by: IvanH | last post Jul 19 '18 by: IvanH
Hi, I created an ECS instance with cPanel. I then added a security rule to allow ports 2082/2087. There is a WHM login at http://my-ip:2087 that accepts the username / password but it says: `Invalid Licence File`. Some of the instructions on this page recommend running /usr/local/cpanel/cpanelctl When I log in to through the...
1
1,500
thread by: DelBrown | last post Jul 19 '18 by: DelBrown
Please, men! I need to pass my diploma project under codenvy with screens, all could be great if in the current version there is a build option in the menu. Please, could you advise smth, men, i really need it soon.
0
1,438
thread by: IvanH | last post Jul 23 '18 by: IvanH
Where we can see the "Top 30 best suggestions implemented each month will be published in the Hall of Fame" ?.
0
1,411
thread by: IvanH | last post Jul 24 '18 by: IvanH
After installing the vsftpd service and running it i ran into some errors. Some of them were: (1) 530: Incorrect Login (2) Server sent a pass'ive reply unroutable address. Suing server Address instead (3) Something else related to chroot() All of these problems were solved by removing write access to home directory, listing ftp_user...
1
1,644
thread by: IvanH | last post Jul 26 '18 by: Andrea1701
To obtain a global certification from one of the Apsara Clouder Technical Certifications areas, is it necessary to pass all the exams in that area? For example to obtain the Cloud Computing Specialist Certification, it is necessary to approve the 11 exams ?, For me it is impossible to know Cantonese, thanks Para optener una certificacion...
0
1,658
thread by: nipunm1 | last post Jul 30 '18 by: nipunm1
i want to convert javascript variable to java variable i have following code: <script> function increaseValue(strid,p,pr) { var v = parseInt(strid.value); v= isNaN(v) ? 0 : v; v++; strid.value = v; var total=v*p; pr.value=total;
0
2,103
thread by: errahby | last post Jul 31 '18 by: errahby
I have pictures in my sqlite prepopulated database, i'm using Simplecursortreeadapter to pass data to exepndablelistview , but the app crush when opening a childview with a picture and in logcat i got "UNABLE TO CONVERT STRING TO BLLOB'. After making some research on internet i discovered(maybe) i have to implement viewbinder which i did ( copy...
0
1,280
thread by: eraed | last post Sep 4 '18 by: eraed
Enter a name, enter grade, and enter 7 test scores. A program that calculates average test scores. I'd like to get the average, except for the highest and lowest scores. How should I do it? import java.util.Scanner; public class StudentDemo { Scanner s = new Scanner(System.in); Student stList = new Student; int cnt = 0;
1
1,461
thread by: PrashantBhople | last post Sep 6 '18 by: zmbd
I have an marathi data in my database table and i want to retrieve it into bootstrap table, but it shows me ?????? symbols. I already used charset UTF-8.
0
1,455
thread by: bsalt | last post Sep 10 '18 by: bsalt
I am taking my second class in Java and this is based on patterns. I need to create a project for the class and I am a little stuck. I need to use 4 patterns in the project and I am not sure which ones I should focus on as I am just now learning about them. The project I want to create is a simple inventory system, more specifically an asset...
1
3,490
thread by: monah1957 | last post Apr 15 '19 by: AjayGohil
calling a class from another package
1
3,680
thread by: shafe7889 | last post Dec 25 '20 by: Ishan Shah
Write a test program and to declare an array of Book that holds 10 number of objects. (Note: Number of objects based on the user’s entered). Also perform various operations on the objects of class Book. Your program should contain a menu that gives the user different choices to effectively run on the program; in other words, your program should...
1
2,117
thread by: padmakar111 | last post Sep 25 '20 by: Ishan Shah
This is my Test.java class package com.durgasoft.test; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import com.durgasoft.pojo.Employee; public class Test { @SuppressWarnings("deprecation")
1
2,400
thread by: Shifa Nayan | last post Sep 21 '20 by: Ishan Shah
student.java:26: error: class, interface, or enum expected void display(){
0
4,056
thread by: henryblack9 | last post Oct 9 '18 by: henryblack9
Crosstab queries, Summary queries, Union queries, and Queries that use Distinct or DistinctRow will all truncate a memo field to 255 characters so Access can perform the required functionality of eliminating duplicates. Also, if you have specified a format in the field's Format property, this will often truncate the data as well. If Unique...
1
5,311
thread by: kevinFab57 | last post Apr 5 '19 by: chaarmann
Acme Parts runs a small factory and employs workers who are paid one of three hourly rates depending on their shift: first shift, $17 per hour; second shift, $18.50 per hour; third shift, $22 per hour. Each factory worker might work any number of hours per week; any hours greater than 40 are paid at one and one-half times the usual rate. In...
1
1,937
thread by: subrina | last post Apr 5 '19 by: chaarmann
CISC 3115 Project 1: StringPile, once again Introduction We've talked about the StringPile code a couple times already, so let's finish the job. (If you need a reminder, here is the exercise assignment from earlier.) In this project, your main goal is to complete an implementation of the StringPile class and to write a main program that...
0
1,484
thread by: jonathanLizama | last post Nov 4 '18 by: jonathanLizama
hello people good afternoon There will be a mathematical theorem that allows solving the problem k: "surveillance" of icpc 2014. What theories or technologies around programming in java recommend me to face this type of problems? import java.util.ArrayList;
0
1,618
thread by: jonathanLizama | last post Nov 4 '18 by: jonathanLizama
hello people good afternoon There will be a mathematical theorem that allows solving the problem k: "surveillance" of icpc 2014. I need tips on how to better deal with the problem and since there is to take it to a java environment, for the moment I need your advice to what kind of theories would be necessary for address the subject of...
0
1,545
thread by: jonathanLizama | last post Nov 4 '18 by: jonathanLizama
A method that creates a total of "n: elements (all different if yes), their combinations of 1-2-3 .... n without repetition Example: Entry: N = {a, b, c} Comb.1: a | b | c Comb.2: ab | bc | ac Comb.3: abc this I did so far please help!
1
1,753
thread by: jonathanLizama | last post Nov 6 '18 by: juhnny
Body: I want to create a method that that takes an Integer "k" and an "ArrayList of String" with a size n, and after, returns all combinations. this is an example for n=3 (n is the size of the array) elements: //ArrayList <String>list==> {ax,by,cz} String solution=""; for(int k=1;k<=n;k++){...
1
1,877
thread by: shuban asif | last post Apr 5 '19 by: chaarmann
write a processing that initialize and declare an arrays thats holds color red, blue , green

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.