This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Sachin Tripathi

Ranch Hand
+ Follow
since Jun 14, 2015
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sachin Tripathi

Norm Radder wrote:

The application starts properly but during extraction it fails with [JBDG_F0003] Cannot start the Java Virtual Machine. Check your CLASSPATH<

Is there more to the error message?  Like the stack trace that shows where the error happened.

How is the application started?  Does it use a JVM before the error happens?

No there is no stacktrace.
2 years ago

Daniel Demesmaecker wrote:That's why I asked whitch idea you're using. on Intelij you select file, projectstructure and then sdk.
It's a while a go since I used eclipse, but I would imagine it's somewhat the same.
You could also edit you runconfigaration, then you would see if and what sdk you're using

Ok thanks, but the application is something on which I am just working on don't have source code of it
2 years ago
Issue :  Getting java.lang.StackOverflowError

Description : While Using certain application I am getting above mentioned error with the following stack trace:

Note: The above stack trace is quite huge but above mentioned lines are repeating.

Observation :
  • The  current -XSS=16384K set for this thread, while the recommended is Xss4096k . Still I am getting the above error.
    As from the stack trace , I think that this is Unintended Recursion with Cyclic Relationships.
    As this line at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(
    is causing the deep recursion shown from the stack trace

  • Expectation :

    Can anyone please help me in trying to resolve this issue.
    If I need to consult with the R&D of the product what is the information I should look for

    2 years ago

    Daniel Demesmaecker wrote:Which idea are you using, looks like your sdk isn't set

    Hi Daniel  , could you please help me  with that how can I identify the root cause.
    2 years ago
    ISSUE: Facing [JBDG_F0003] Cannot start the Java Virtual Machine. Check your CLASSPATH<

    Deals with : Java Classpath , metadata,meta integeration ,BO


    Actually I am using a java application(A)  to extract metadata from the Business Object which uses meta integration(miti) inside it to extract unstructured data  from the data sources.

    For  application(A) we have its in which we have set Java_home to 32 -bit Java (JRE) on the  machine because the Universes are based on non-JDBC connections and the . The application(A) requires a 32-bit Java when importing Universe are based on non-

    JDBC connections (for instance, ODBC, OLEDB and so on).

    Currently the Java_home set in classpath under the OS is  pointing to 64 -bit Java .

    The Application(A)  by default was using  earlier 64 -bit Java but after changes made in it started using 32 -bit Java (Verified by services.msc)

    The application starts properly but during extraction it fails with [JBDG_F0003] Cannot start the Java Virtual Machine. Check your CLASSPATH<

    Please if anyone can help me with this.


    Is setting java_home by will override the value as in env.variable

    What could be the possible reason for [JBDG_F0003] Cannot start the Java Virtual Machine. Check your CLASSPATH<

    Any more suggested debugging methods?

    Please feel free to put in any group to which this particular post belong to
    2 years ago
    Yes static variables are inherited like their fellow instance variable s
    Remember these rules:static member are shared by every instance of class

    Instance of subclass IS-A instance of super class

    I think these 2 rules will help you solving your doubts
    main is a static method
    and you are invoking non static method from static method

    It will result in Compiler error,until you create an instance of class and invoke foo() with the help of that instance

    And in System.out.println()
    System is a class in java.lang
    out is a static variable, of PrintStream type,declared within System
    println() method in PrintStream
    But that bookmarks the whole topic not a particular answer
    Roel still have to browse many answers before coming to Campbell's answers
    4 years ago
    Hello Joe,I was telling op all the possible ways of doing that,not just the optimal one
    And it was all left to op to determine which is the most suitable one,so that he can understand the use of instance initializer perfectly
    4 years ago
    Hi fellow members,have been here for so long that now this place feels like second home to me.
    Have learnt a lot from here,and to make learning more fun,I am suggesting to add "Add to reading list "option after each post

    It should be like if :I had asked a question on any forum,to which Campbell gave an extra brilliant answer (that what he normally does)Now Roel and knute found Campbell's answer so useful,so they added that answer to their reading list by using"Add to reading list"

    Now whenever they feel like going through the same concept again, they can view their reading list,
    They don't have to remember op's name,or what question being asked or any keyword in the answer,this will save lots of time

    Others opinion required
    4 years ago
    Consider this if you have certain block of code that you want to execute every time whenever instance of that particular class is created,and you have many constructors
    You can try following:
    1-Put the code separetly in all constructors
    2-Put it into a method or any constructor then you can invoke them in every other constructor
    3-Put it into instance initializer,all the codes get placed in the constructor automatically,which creates the instance of class
    4 years ago
    Hello,as you have specifically asked for website or online resources so I know I am getting off the track,but in my view nothing substitute a book and fortunately there are many for Java
    Start with Headfirst java or something similar, where you will find enough question on a particular topic and can make your concepts stronger too

    But if you only prefer online resources, knute had already suggested you some
    Have fun learning java
    4 years ago
    when a reference variable points to any object,
    what thing you can do with that particular reference variable:

  • You can make it point to null
  • you can make it point to another object
  • you can up cast it(but that won't change anything with reference to the existing variable)

  • for example:

    Here 'd' still refer to an object of Dog type

  • you can let the reference variable to point to the same object,to which it was pointing earlier already.

  • 4 years ago
    Granted,but now your voting rights are taken away,because the current government is going to loose,due to your wish

    I wish I could be the (most loved)king of the whole universe,(assume their is no life outside our universe )

    Now,corrupt mine
    4 years ago