query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
How to handle PermGen space exception in Tomcat? | Tomcat: OutOfMemoryError Permgen Space | Spring Integration PermGen space | 1 | stackoverflowdupquestions |
Eclipse error: “The import ... cannot be resolved” | Import XXX cannot be resolved for Java SE standard classes | EnableTwitter and EnableFacebook cannot be resolved | 1 | stackoverflowdupquestions |
Repository access control in Spring Data Rest based off user princpal | Spring REST Api -- access User details in repository | Access control to rest services with spring-boot | 1 | stackoverflowdupquestions |
Differences between "java -cp" and "java -jar"? | What does java -cp "*" mean? | What's the difference between -cp and -classpath | 1 | stackoverflowdupquestions |
Java 8 - converting an Integer to a long compilation issue | Converting Integer to Long | Converting integer to String | 1 | stackoverflowdupquestions |
How do I create a ZIP file in Java? | Create a jar file from the java code | Jar file of java | 1 | stackoverflowdupquestions |
Java JVM profiling, thread status - what does "Monitor" status mean? | Thread status is “monitor” in Eclipse DDMS | Profiling a Java Web Start application | 1 | stackoverflowdupquestions |
Reusing of a PreparedStatement between methods? | Reusing a PreparedStatement | Java reusing socket | 1 | stackoverflowdupquestions |
java parameterized generic static factory | Create a static generic factory in java? | Parameterized Types and Generic Classes | 1 | stackoverflowdupquestions |
How to round up the result of integer division? | How to round up integer division and have int result in Java? | How do you round of this | 1 | stackoverflowdupquestions |
Will Hibernate flush my updated persistent object when calling session.close() with FlushMode.AUTO? | Why is it necessary to call session.flush() after session.delete() in Hibernate? | java.lang.NullPointerException on Hibernate persistent class | 1 | stackoverflowdupquestions |
Drag and Resize undecorated JFrame | How to add support for resizing when using an undecorated JFrame? | Why does my jFrame update only after I resize the window? | 1 | stackoverflowdupquestions |
JSch SCP file transfer using "exec" channel | Explanation for SCP protocol implementation in JSch library | JSch - Explaining SCP stream reading | 1 | stackoverflowdupquestions |
Setting classpath for a Java stored procedure in Oracle | How to include jar files to a Java Stored Procedure in Oracle? | pass object from Java to Oracle procedure | 1 | stackoverflowdupquestions |
List validation in drools | Validation in drools | Drools java update | 1 | stackoverflowdupquestions |
initializing a Guava ImmutableMap | Guava ImmutableMap Builder syntax | Why does ImmutableSet allow duplicates, but ImmutableMap does not | 1 | stackoverflowdupquestions |
JavaFX: How to make my custom component use all available space from parent layout? | JavaFX layout that scales with parent | Custom JavaFX 8 objects | 1 | stackoverflowdupquestions |
Get files from a zip file | Read Content from Files which are inside Zip file | How to read and write a zip file in java? | 1 | stackoverflowdupquestions |
How to read an XML file with JAXB? | Reading an XML file with JAXB | XML Request Jaxb | 1 | stackoverflowdupquestions |
Looking for simple Java in-memory cache | Looking for a read-at-once in-memory cache | Using the cache android | 1 | stackoverflowdupquestions |
How to sort a Java Hashtable? | sort hashtable by values | HashTable Issue | 1 | stackoverflowdupquestions |
Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter | Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter After updating to Yosemite | Why do I need to call junit.textui.TestRunner? (Java) | 1 | stackoverflowdupquestions |
How to convert string to boolean condition in java/android? | How to convert String object to Boolean Object? | Setting boolean variable to condition? | 1 | stackoverflowdupquestions |
JMF Cannot find video.properties file | required jars for video recording using JMF | where can i find Java JMF tutorial | 1 | stackoverflowdupquestions |
Bypass HTTPS certificate validation while invoking webservice | How to bypass certificate checking in a Java web service client | Java and HTTPS url connection without downloading certificate | 1 | stackoverflowdupquestions |
Java path..Error of jvm.cfg | What is the purpose of jvm.cfg file in relation to Java? | hibernate.cfg.xml file not found - should I make it and put it in the project directory? | 1 | stackoverflowdupquestions |
JRE installation directory in Windows | Reliable way to find JRE installation in Windows bat file to run java program | Using Java find installation directory of an application? | 1 | stackoverflowdupquestions |
Any good tutorial for moving from eclipse to vim? | Do developers actually use vim to write code (Java) on a Windows OS? | Vim key mapping compile and run for Java and C code | 1 | stackoverflowdupquestions |
Most Compact way to Serialize an Array of Longs in Java | Java: Efficiently converting an array of longs to an array of bytes | Java code using HashSet of longs doesn't work? | 1 | stackoverflowdupquestions |
Sprintf equivalent in Java | Any method similar to sprintf in Java? | GetDriveType() equivalent in Java | 1 | stackoverflowdupquestions |
How to avoid surrounding html head tags in Jsoup parse | Jsoup filter out only some tags from html to text | Jsoup parse html-string | 1 | stackoverflowdupquestions |
How to keep aspect ratio in JPanel | How to lock aspect ratio of a gridLayout in Java? | Aspect ratio is off when scaling down and drawing a bitmap | 1 | stackoverflowdupquestions |
Adding items to end of linked list | How to add an element to the end of a linked list | Linked List, not adding values properly | 1 | stackoverflowdupquestions |
How to call REST API through postman to create index in Azure? | How to call REST API for azure file storage using postman? | how to send object using postman rest client to call REST service | 1 | stackoverflowdupquestions |
Non-static variable of cannot be referenced from a static context | non-static variable this cannot be referenced from a static context? | Java: non-static variable value cannot be referenced from a static context error | 1 | stackoverflowdupquestions |
Java best way to implement builder pattern | When would you use the Builder Pattern? | Do we need a .build() method in the Builder Pattern? | 1 | stackoverflowdupquestions |
WeakHashMap and strongly referenced value | Reduce Memory Usage With WeakHashMap | Are keySet entries of a WeakHashMap never null? | 1 | stackoverflowdupquestions |
Is it possible to detect a date change on a JCalendar JDateChooser field? | JCalendar getting date | JCalendar set specific date colors | 1 | stackoverflowdupquestions |
Why does my JAR file execute at CMD, but not on double-click? | jar writes to file from cmd but not double click | I can run .jar files through cmd, but I cannot double click them | 1 | stackoverflowdupquestions |
Java Log Viewer | Log file viewer needed with web interface | SolidWorks Edrawing viewer in Java | 1 | stackoverflowdupquestions |
Android assisted Search: The search button does not invoke the searchable Activity (Other Solutions did not help) | Search bar widget not starting searchable activity | Using assisted injection create a complex dependency tree | 1 | stackoverflowdupquestions |
Java Math.pow(x,2.0) vs Math.pow(x,2.0000001) performance | x*x vs Math.pow(x,2) java performance | System.out.print(Math.pow( 9 , 1/3)) ; Result = 1.0 ; Why? | 1 | stackoverflowdupquestions |
JCE cannot authenticate the provider BC in java swing application | How to sign a custom JCE security provider | bouncycastle + JBoss AS7: JCE cannot authenticate the provider BC | 1 | stackoverflowdupquestions |
php shell_exec executing java program | PHP command shell_exec() not working for my custom Java app5 | Executing java via exec or shell_exec gives error | 1 | stackoverflowdupquestions |
Eclipse Mars not showing Jboss Server | How to add JBoss Server in Eclipse? | Not able to change Dynamic Web Module 3.1 in eclipse mars | 1 | stackoverflowdupquestions |
Make Java program as independent exe (run without JVM) | How can I convert my Java program to an .exe file? | Error while using java.exe | 1 | stackoverflowdupquestions |
Integer to byte casting in Java | type casting of byte and int | Java casting error? | 1 | stackoverflowdupquestions |
What is the difference between immutable and final in java? | Must all properties of an immutable object be final? | String immutable? | 1 | stackoverflowdupquestions |
Default Skin LibGDX? | Using scene2d.ui with libgdx: where does the skin come from? | Trouble detecting skin | 1 | stackoverflowdupquestions |
can we write custom marker interfaces | Is this possible to write a Marker interface | myLocationOverlay change the marker | 1 | stackoverflowdupquestions |
How do I create a H2 database inside a java project in Eclipse? | Where are my H2 database files? | How to close h2 in-memory database? | 1 | stackoverflowdupquestions |
How does an enum singleton function? | Singleton Pattern: Using Enum Version | When Singleton is not Singleton? | 1 | stackoverflowdupquestions |
Java: what is JITC's reflection inflation? | Java 8 Metaspace: OutOfMemoryError: Dealing with reflection Inflation | Using reflection | 1 | stackoverflowdupquestions |
When to use Iterable, when to use Iterator? | Implement Java Iterator and Iterable in same class? | Java: Iterator, Iterable - Interface or Abstract Class? | 1 | stackoverflowdupquestions |
How to automatically refresh Cache using Google Guava? | Automatic cache refresh with Guava | one cache for all "objects" or one cache for each type? - web application with cache (guava) | 1 | stackoverflowdupquestions |
Using Arrays.asList to create List from Array | Arrays.asList() not working as it should? | The returned-value type of Arrays.asList in Java | 1 | stackoverflowdupquestions |
Generate JPA 2 Entities from existing Database | How to generate object @Entities from database? | JPA exception while mapping to entities | 1 | stackoverflowdupquestions |
Collision resolution in HashMap | Java - HashMap confusion about collision handling and the get() method | Java collision check doesn't work as expected | 1 | stackoverflowdupquestions |
How to capitalize the first letter of word in a string using Java? | How to capitalize every string in Java? | Split words and capitalize first character | 1 | stackoverflowdupquestions |
What could be the cause of RejectedExecutionException | RejectedExecutionException coming from single thread executor | How to handle RejectedExecutionException with ThreadPoolExecutor in java | 1 | stackoverflowdupquestions |
Synchronizing on an Integer results in NullPointerException | Synchronizing on an Integer value | Java synchronizing a method in a class | 1 | stackoverflowdupquestions |
What's a good design pattern to implement a network protocol (XML)? | How to implement a network protocol? | Better Design Pattern? | 1 | stackoverflowdupquestions |
Byte array of unknown length in java | Byte array of unknown length in Java: Part II | Java unknown output | 1 | stackoverflowdupquestions |
How to convert Date to a particular format in android? | Convert date format in android? | How to convert the date format | 1 | stackoverflowdupquestions |
JDBC Connection pooling using C3P0 | Connection pooling options with JDBC: DBCP vs C3P0 | c3p0 connection pooling in jsp tomcat with netbeans | 1 | stackoverflowdupquestions |
Merge two xml strings in java | java merge two xml strings in java | merge two array into one | 1 | stackoverflowdupquestions |
How to get all currently running threads in a batch file in java? | Get a list of all threads currently running in Java | Batch and the for loop | 1 | stackoverflowdupquestions |
XmlElement annotation dissallowed with WebParam | Annotation type @XmlElement not applicable | How to access @XmlElement values in APT? | 1 | stackoverflowdupquestions |
spring: set property of one bean by reading the property of another bean? | Spring: Access bean property from another bean | Spring Boot - Create bean when property set otherwise create default bean | 1 | stackoverflowdupquestions |
Unable to locate tools.jar | Error: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-sun-1.6.0.26/lib/tools.jar | Unable to locate resource outside of Jar | 1 | stackoverflowdupquestions |
How do I create directories and files within the user's AppData directory? | Not able to write to AppData | how to create different directories in one file | Java | 1 | stackoverflowdupquestions |
Extending ArrayList and Creating new methods | Extending a java ArrayList | Extending String Array | 1 | stackoverflowdupquestions |
Didn't find class on path: dexpathlist | RuntimeException : Didn't find class on path: DexPathList | Android: how can i find file path | 1 | stackoverflowdupquestions |
How can I flash the Windows taskbar using Swing? | How to make JFrame alert in taskbar? | How to make a JFrame have no taskbar button? | 1 | stackoverflowdupquestions |
String-Date conversion with nanoseconds | Convert date with nanoseconds in java | Get time of a calendar in nanoseconds | 1 | stackoverflowdupquestions |
Getting last day of the month in a given string date | Is it the last day of the month? | How to get month and day in android? | 1 | stackoverflowdupquestions |
Link CSS file to .JSP in Spring Framework - ver -4.1.0 | How to use "css" in the "jsp" in Spring MVC project? | How do I use reCAPTCHA Ver 2 with Java? | 1 | stackoverflowdupquestions |
How to kill a java thread? | Kill an uncooperative thread in Java | Should we explicitly kill a thread? | 1 | stackoverflowdupquestions |
Java Generics Puzzler, extending a class and using wildcards | Generics, Type Parameters and Wildcards | Java Compiler error puzzler: "inner classes cannot have static declarations" - except for simple types | 1 | stackoverflowdupquestions |
How to rename an existing file? | How to rename an existing file | How to rename file in a general way in java? | 1 | stackoverflowdupquestions |
Is the Swing repaint() method still safe to use outside the EDT in Java 7+? | Safe to use Component.repaint() outside EDT? | Java Swing repaint issue | 1 | stackoverflowdupquestions |
Python vs Java for natural language processing | Is there a good natural language processing library | Natural Language Processing: Find obscenities in English? | 1 | stackoverflowdupquestions |
How to create Design QR codes with Java? | how to add logo to qr codes | Embed URL in QR Code | 1 | stackoverflowdupquestions |
ERROR: cannot start RubyMine. No JDK found. JDK Version? + desktop link | RubyMine on linux | JPEGImageEncoder don't work in JDK 7 | 1 | stackoverflowdupquestions |
Google cloud messaging receiver intent does not start (broadcast intent callback: result=CANCELLED forIntent) | broadcast intent callback: result=CANCELLED forIntent | Why am I getting intent.REGISTRATION with Google Cloud Messaging | 1 | stackoverflowdupquestions |
Capturing large amounts of output from Apache Commons-Exec | Getting all output data form console when running process with Apache Commons Exec | How to prevent log output from Apache Commons Exec | 1 | stackoverflowdupquestions |
Running a jar from within another jar | How to run a jar file from another jar | Running jar doesn't work | 1 | stackoverflowdupquestions |
Cannot run java application from command line while providing multiple directories as classpath ( with path separator) on linux | Classpath does not work under linux | Get value with in two separator in java | 1 | stackoverflowdupquestions |
How to analyze PermGen space? | Method Area and PermGen | Why is the default size of PermGen so small? | 1 | stackoverflowdupquestions |
Java - Load file, replace string, save | Replace string in file | How to save string in file in java | 1 | stackoverflowdupquestions |
Error : java.util.ConcurrentModificationException | Why am I not getting a java.util.ConcurrentModificationException in this example? | Why am I getting java.util.ConcurrentModificationException? | 1 | stackoverflowdupquestions |
Take an array of values and compare them to Enum values in java | How to compare string to enum type in Java? | Enum with array/list values | 1 | stackoverflowdupquestions |
The most sophisticated way for creating comma-separated Strings from a Collection/Array/List? | Best way to convert list to comma separated string in java | Put Comma separated values in Collecton Object | 1 | stackoverflowdupquestions |
Get last inserted auto increment id in mysql | mysql, java - Get last inserted auto increment id from one table and insert it again on another table | Hibernate Auto Increment ID | 1 | stackoverflowdupquestions |
Memory leak on list | Creating a memory leak with Java | Can there be memory leak in Java | 1 | stackoverflowdupquestions |
How to move minimized components placed at the bottom of the container? | how to keep minimized jinternalframe on top | all my components are placed over each other, i've been tryna figure it out a while now | 1 | stackoverflowdupquestions |
Java EE vs JSP vs JSF | JSF vs Facelets vs JSP | Class vs package vs module vs component vs container vs service vs platform in Java world | 1 | stackoverflowdupquestions |
How to write an RSS feed with Java? | RSS Feed parser library in Java | Head First Android Development - RSS Feed | 1 | stackoverflowdupquestions |
Is there a way to make Eclipse run a JUnit test multiple times until failure? | In Eclipse, how do I run a JUnit test case multiple times | How to use JUnit with eclipse | 1 | stackoverflowdupquestions |
SSLException: hostname in certificate didn't match: <50.19.233.255> != <*.heroku.com> | Java SSLException: hostname in certificate didn't match | Soundcloud JAVA api wrapper : SSLException | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.